using System; using System.Collections; using Server.Items; using Server.Targeting; namespace Server.Mobiles { [CorpseName( "a scorpion corpse" )] public class SandScorpion : BaseCreature { [Constructable] public SandScorpion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a scorpion"; Body = 186; BaseSoundID = 397; SetStr( 73, 115 ); SetDex( 76, 95 ); SetInt( 16, 30 ); SetHits( 50, 63 ); SetMana( 0 ); SetDamage( 5, 10 ); SetSkill( SkillName.Poisoning, 80.1, 100.0 ); SetSkill( SkillName.MagicResist, 30.1, 35.0 ); SetSkill( SkillName.Tactics, 60.3, 75.0 ); SetSkill( SkillName.HandToHand, 50.3, 65.0 ); Fame = 1900; Karma = -1900; VirtualArmor = 28; PackItem( new LesserPoisonPotion() ); } public override void GenerateLoot() { AddLoot( LootPack.Meager ); } public override int Meat{ get{ return 1; } } public override Poison PoisonImmune{ get{ return Poison.Greater; } } public override Poison HitPoison{ get{ return (0.8 >= Utility.RandomDouble() ? Poison.Regular : Poison.Greater); } } public SandScorpion( 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(); } } }