using System; using Server; using Server.Items; namespace Server.Mobiles { [CorpseName( "a dragon corpse" )] public class AncientWyrm : BaseCreature { [Constructable] public AncientWyrm () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = NameList.RandomName( "dragon" ); Title = "the ancient wyrm"; Body = 122; BaseSoundID = 362; SetStr( 1096, 1185 ); SetDex( 86, 175 ); SetInt( 686, 775 ); SetHits( 658, 711 ); SetDamage( 29, 35 ); SetSkill( SkillName.Concentration, 80.1, 100.0 ); SetSkill( SkillName.Magery, 80.1, 100.0 ); SetSkill( SkillName.Meditation, 52.5, 75.0 ); SetSkill( SkillName.MagicResist, 100.5, 150.0 ); SetSkill( SkillName.Tactics, 97.6, 100.0 ); SetSkill( SkillName.HandToHand, 97.6, 100.0 ); Fame = 22500; Karma = -22500; VirtualArmor = 70; } public override void GenerateLoot() { AddLoot( LootPack.FilthyRich, 3 ); AddLoot( LootPack.Gems, 5 ); } public override int GetIdleSound() { return 0x2D3; } public override int GetHurtSound() { return 0x2D1; } public override bool ReacquireOnMovement{ get{ return true; } } public override bool HasBreath{ get{ return true; } } // fire breath enabled public override bool AutoDispel{ get{ return true; } } public override int Hides{ get{ return 40; } } public override int Meat{ get{ return 19; } } public override Poison PoisonImmune{ get{ return Poison.Regular; } } public override Poison HitPoison{ get{ return Utility.RandomBool() ? Poison.Lesser : Poison.Regular; } } public AncientWyrm( 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(); } } }