using System; using Server.Mobiles; using Server.Network; namespace Server.Mobiles { [CorpseName( "a unicorn corpse" )] public class Unicorn : BaseCreature { [Constructable] public Unicorn() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 ) { Name = "a unicorn"; BaseSoundID = 0x4BC; Body = 230; SetStr( 496, 525 ); SetDex( 86, 105 ); SetInt( 86, 125 ); SetHits( 298, 315 ); SetDamage( 16, 22 ); SetSkill( SkillName.Concentration, 10.4, 50.0 ); SetSkill( SkillName.Magery, 10.4, 50.0 ); SetSkill( SkillName.MagicResist, 85.3, 100.0 ); SetSkill( SkillName.Tactics, 97.6, 100.0 ); SetSkill( SkillName.HandToHand, 80.5, 92.5 ); Fame = 14000; Karma = 14000; VirtualArmor = 60; } public override void GenerateLoot() { AddLoot( LootPack.Rich ); AddLoot( LootPack.Average ); AddLoot( LootPack.LowScrolls ); AddLoot( LootPack.HighPotions ); } public override Poison PoisonImmune{ get{ return Poison.Lethal; } } public override int Meat{ get{ return 3; } } public override int Hides{ get{ return 10; } } public Unicorn( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); // version } public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); } } }