63 lines
1.3 KiB
C#
63 lines
1.3 KiB
C#
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class GazerLarva : BaseCreature
|
|
{
|
|
public override string CorpseName => "a gazer larva corpse";
|
|
public override string DefaultName => "a gazer larva";
|
|
|
|
[Constructible]
|
|
public GazerLarva () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Body = 778;
|
|
BaseSoundID = 377;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 51, 75 );
|
|
SetInt( 56, 80 );
|
|
|
|
SetHits( 36, 47 );
|
|
|
|
SetDamage( 2, 9 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 100 );
|
|
|
|
SetResistance( ResistanceType.Physical, 15, 25 );
|
|
|
|
SetSkill( SkillName.MagicResist, 70.0 );
|
|
SetSkill( SkillName.Tactics, 70.0 );
|
|
SetSkill( SkillName.Wrestling, 70.0 );
|
|
|
|
Fame = 900;
|
|
Karma = -900;
|
|
|
|
VirtualArmor = 25;
|
|
|
|
PackItem( new Nightshade( Utility.RandomMinMax( 2, 3 ) ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Poor );
|
|
}
|
|
|
|
public override int Meat => 1;
|
|
|
|
public GazerLarva( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
writer.Write( (int) 0 );
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|