69 lines
1.4 KiB
C#
69 lines
1.4 KiB
C#
namespace Server.Mobiles
|
|
{
|
|
public class Jwilson : BaseCreature
|
|
{
|
|
public override string CorpseName => "a jwilson corpse";
|
|
public override string DefaultName => "a jwilson";
|
|
|
|
[Constructible]
|
|
public Jwilson() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Hue = Utility.RandomList(0x89C,0x8A2,0x8A8,0x8AE);
|
|
Body = 0x33;
|
|
VirtualArmor = 8;
|
|
|
|
InitStats(Utility.Random(22,13),Utility.Random(16,6),Utility.Random(16,5));
|
|
|
|
Skills[SkillName.Wrestling].Base = Utility.Random(24,17);
|
|
Skills[SkillName.Tactics].Base = Utility.Random(18,14);
|
|
Skills[SkillName.MagicResist].Base = Utility.Random(15,6);
|
|
Skills[SkillName.Poisoning].Base = Utility.Random(31,20);
|
|
|
|
Fame = Utility.Random(0,1249);
|
|
Karma = Utility.Random(0,-624);
|
|
}
|
|
|
|
public Jwilson(Serial serial) : base(serial)
|
|
{
|
|
}
|
|
|
|
public override int GetAngerSound()
|
|
{
|
|
return 0x1C8;
|
|
}
|
|
|
|
public override int GetIdleSound()
|
|
{
|
|
return 0x1C9;
|
|
}
|
|
|
|
public override int GetAttackSound()
|
|
{
|
|
return 0x1CA;
|
|
}
|
|
|
|
public override int GetHurtSound()
|
|
{
|
|
return 0x1CB;
|
|
}
|
|
|
|
public override int GetDeathSound()
|
|
{
|
|
return 0x1CC;
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|