56 lines
No EOL
1 KiB
C#
56 lines
No EOL
1 KiB
C#
using System;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a dog corpse" )]
|
|
public class Dog : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Dog() : base( AIType.AI_Timid, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a dog";
|
|
Body = 217;
|
|
Hue = Utility.RandomAnimalHue();
|
|
BaseSoundID = 0x85;
|
|
|
|
SetStr( 27, 37 );
|
|
SetDex( 28, 43 );
|
|
SetInt( 29, 37 );
|
|
|
|
SetHits( 17, 22 );
|
|
SetMana( 0 );
|
|
|
|
SetDamage( 4, 7 );
|
|
|
|
SetSkill( SkillName.MagicResist, 22.1, 47.0 );
|
|
SetSkill( SkillName.Tactics, 19.2, 31.0 );
|
|
SetSkill( SkillName.HandToHand, 19.2, 31.0 );
|
|
|
|
Fame = 0;
|
|
Karma = 300;
|
|
|
|
VirtualArmor = 12;
|
|
}
|
|
|
|
public override int Meat{ get{ return 1; } }
|
|
|
|
public Dog(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();
|
|
}
|
|
}
|
|
} |