using System; using Server.Items; namespace Server.Mobiles { [CorpseName("a corpser corpse")] public class Corpser : BaseCreature { [Constructable] public Corpser() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { this.Name = "a corpser"; this.Body = 8; this.BaseSoundID = 684; this.SetStr(156, 180); this.SetDex(26, 45); this.SetInt(26, 40); this.SetHits(94, 108); this.SetMana(0); this.SetDamage(10, 23); this.SetDamageType(ResistanceType.Physical, 60); this.SetDamageType(ResistanceType.Poison, 40); this.SetResistance(ResistanceType.Physical, 15, 20); this.SetResistance(ResistanceType.Fire, 15, 25); this.SetResistance(ResistanceType.Cold, 10, 20); this.SetResistance(ResistanceType.Poison, 20, 30); this.SetSkill(SkillName.MagicResist, 15.1, 20.0); this.SetSkill(SkillName.Tactics, 45.1, 60.0); this.SetSkill(SkillName.Wrestling, 45.1, 60.0); this.Fame = 1000; this.Karma = -1000; this.VirtualArmor = 18; if (0.25 > Utility.RandomDouble()) this.PackItem(new Board(10)); else this.PackItem(new Log(10)); this.PackItem(new MandrakeRoot(3)); } public Corpser(Serial serial) : base(serial) { } public override Poison PoisonImmune { get { return Poison.Lesser; } } public override bool DisallowAllMoves { get { return true; } } public override void GenerateLoot() { this.AddLoot(LootPack.Meager); } 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(); } } }