public Lucky(string name) : base(name, 719, 16076, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { //SpeechHue = Utility.RandomDyedHue(); YellHue = 15; //Race = Race.Elf; Female = true; HairItemID = Utility.RandomList(8252, 8253); HairHue = Utility.RandomList(1174, 1175, 1153, 1166, 1172, 1158); Hue = GetHue(); Fame = 13500; InitStats(Utility.Random(125, 50), Utility.Random(200, 50), Utility.Random(60, 25)); SetHits(980, 1334); SetDamage(25, 35); SetDamageType(ResistanceType.Physical, 0); SetDamageType(ResistanceType.Cold, 70); SetDamageType(ResistanceType.Energy, 30); SetResistance(ResistanceType.Physical, 70, 90); SetResistance(ResistanceType.Fire, 70, 90); SetResistance(ResistanceType.Cold, 70, 90); SetResistance(ResistanceType.Poison, 70, 90); SetResistance(ResistanceType.Energy, 70, 90); SetSkill(SkillName.Archery, 100); SetSkill(SkillName.MagicResist, 90.5, 105.5); SetSkill(SkillName.Tactics, 80.0); SetSkill(SkillName.Anatomy, 120); SetSkill(SkillName.Healing, 120.0); //BaseSoundID = 0xA8;//horse SkillsCap = 50000; StatCap = 1450; AddItem(new ThighBoots()); AddItem(new PlainDress(Hue)); AddItem(new FemaleStuddedChest()); Tamable = true; ControlSlots = 1; MinTameSkill = 10.1; Container pack = Backpack; if (pack != null) { pack.Delete(); } pack = new xBackpack(); pack.Movable = false; AddItem(pack); if (Utility.RandomDouble() < 0.2) { PackItem(new TreasureMap(6, this.Map)); } }
public xhorse(string name) : base(name, 0xBE, 0x3E9E, AIType.AI_NecroMage, FightMode.Weakest, 10, 1, 0.2, 0.4) { #region Hue if (Utility.RandomDouble() < 0.1) { Hue = Utility.RandomList(1461, 1365, 1266, 1257, 1173, 1166, 1168, 1151, 1150); } else { Hue = Utility.Random(1002, 57); } //Hue = Utility.RandomList(0x97A, 0x978, 0x901, 0x8AC, 0x5A7, 0x527); #endregion InitStats(Utility.Random(385, 25), Utility.Random(360, 50), Utility.Random(370, 50)); SetHits(980, 1334); SetDamage(25, 35); SetResistance(ResistanceType.Physical, 70, 90); SetResistance(ResistanceType.Fire, 70, 90); SetResistance(ResistanceType.Cold, 70, 90); SetResistance(ResistanceType.Poison, 70, 90); SetResistance(ResistanceType.Energy, 70, 90); SetSkill(SkillName.Archery, 100); SetSkill(SkillName.MagicResist, 90.5, 105.5); SetSkill(SkillName.Tactics, 80.0); SetSkill(SkillName.Anatomy, 120); SetSkill(SkillName.Healing, 120.0); SetSkill(SkillName.EvalInt, 100); SetSkill(SkillName.MagicResist, 85); SetSkill(SkillName.Magery, 100); SetSkill(SkillName.Poisoning, 100); SetSkill(SkillName.Bushido, 100); SetSkill(SkillName.Mysticism, 100); SetSkill(SkillName.Ninjitsu, 100); SetSkill(SkillName.Necromancy, 100); SetSkill(SkillName.Spellweaving, 100); SetSkill(SkillName.Hiding, 100); SetSkill(SkillName.Stealth, 100); SetSkill(SkillName.ArmsLore, 100); SetSkill(SkillName.Wrestling, 50); SetSkill(SkillName.Chivalry, 90); //Body = 1290; Tamable = true; ControlSlots = 2; MinTameSkill = 60.1; //LeatherSkirt ls = new LeatherSkirt(); //ls.Movable = false; //ls.Attributes.AttackChance = 40; //AddItem(ls); Container pack = Backpack; if (pack != null) { pack.Delete(); } pack = new xBackpack(); pack.Movable = false; AddItem(pack); int amount = Skills[SkillName.Ninjitsu].Value >= 100 ? 2 : 1; for (int i = 0; i < amount; i++) { Fukiya f = new Fukiya(); f.UsesRemaining = 10; f.Poison = amount == 1 ? Poison.Regular : Poison.Greater; f.PoisonCharges = 10; f.Movable = true; PackItem(f); } if (Utility.RandomDouble() < 0.2) { PackItem(new TreasureMap(6, Map.Trammel)); } }