public RangerGuardOfRedDaggerKeep() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.1, 0.2) { Title = "Ranger Guard of Red Dagger Keep"; SetStr(850, 900); SetDex(500, 700); SetInt(100, 200); SetHits(1500, 2000); SetDamage(19, 35); SetSkill(SkillName.Anatomy, 100.0, 100.0); SetSkill(SkillName.Archery, 100.0, 100.0); SetSkill(SkillName.Tactics, 100.0, 100.0); SetSkill(SkillName.MagicResist, 100.0, 100.0); Karma = 10000; AddItem(new HighBoots(643)); AddItem(new PlumeCloak(238)); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 643; gorget.Movable = true; AddItem(gorget); StuddedArms arms = new StuddedArms(); arms.Hue = 643; arms.Movable = true; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 238; gloves.Movable = true; AddItem(gloves); EbonyWarBow weapon = new EbonyWarBow(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 238; weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Arrow(Utility.RandomMinMax(50, 80))); if (Female = Utility.RandomBool()) { Body = 606; Name = NameList.RandomName("elven female"); Hue = Utility.RandomList(897, 898, 899, 2405); HairHue = 1153; HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 238; chest.Movable = true; AddItem(chest); } else { Body = 605; Name = NameList.RandomName("elven male"); Hue = Utility.RandomList(897, 898, 899, 2405); HairHue = 1153; HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); StuddedChest chest = new StuddedChest(); chest.Hue = 238; chest.Movable = true; AddItem(chest); StuddedLegs legs = new StuddedLegs(); legs.Hue = 238; legs.Movable = true; AddItem(legs); } }
public DragonSanctuaryElfRanger() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.1, 0.2) { SetStr(755, 788); SetDex(300, 500); SetInt(100, 200); SetHits(500, 600); SetDamage(12, 15); SetSkill(SkillName.Anatomy, 100.0); SetSkill(SkillName.Archery, 100.0); SetSkill(SkillName.Chivalry, 100.0); SetSkill(SkillName.MagicResist, 70.0); SetSkill(SkillName.Tactics, 100.0); Karma = 10000; m_Timer = new MoveTimer(this); ChangeLocation(); PackItem(new Bandage(Utility.RandomMinMax(15, 20))); PackItem(new Arrow(Utility.RandomMinMax(80, 90))); if (Female = Utility.RandomBool()) { Name = NameList.RandomName("elven female"); Title = "Ljosalfar Ranger of Dragon Sanctuary"; Body = 606; Hue = Utility.RandomList(1002, 1003, 1009, 1010, 1011, 1016, 1017, 1023, 1030); HairHue = Utility.RandomList(1502, 1507, 1513, 2213, 2216, 2218); HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); BaseWeapon weapon = Loot.RandomWeapon(true); switch (Utility.Random(3)) { case 0: weapon = new ElvenCompositeLongbow(); break; case 1: weapon = new MagicalShortbow(); break; case 2: weapon = new SkeletalWarBow(); break; } BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); EbonsilkTiara helm = new EbonsilkTiara(); BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35); helm.Hue = 0x4D5; helm.Movable = true; AddItem(helm); LeafGorget gorget = new LeafGorget(); BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35); gorget.Hue = 0x4D5; gorget.Movable = true; AddItem(gorget); LeafArms arms = new LeafArms(); BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35); arms.Hue = 0x4D5; arms.Movable = true; AddItem(arms); LeafChest chest = new LeafChest(); BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35); chest.Hue = 0x4D5; chest.Movable = true; AddItem(chest); LeafTonlet legs = new LeafTonlet(); BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35); legs.Hue = 0x4D5; legs.Movable = true; AddItem(legs); LightBoots boots = new LightBoots(); BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35); boots.Hue = 0x4D5; boots.Movable = true; AddItem(boots); new Nightmare().Rider = this; } else { Name = NameList.RandomName("elven male"); Title = "Svartalfar Ranger of Dragon Sanctuary"; Body = 605; Hue = Utility.RandomList(897, 898, 899, 900, 901, 905, 990, 995, 996, 997, 998, 999, 2401, 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411); HairHue = 2405; HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); BaseWeapon weapon = Loot.RandomWeapon(true); switch (Utility.Random(3)) { case 0: weapon = new EbonyGreatBow(); break; case 1: weapon = new EbonyWarBow(); break; case 2: weapon = new SkeletalWarBow(); break; } BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); EbonsilkTiara helm = new EbonsilkTiara(); BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35); helm.Hue = 0x4D5; helm.Movable = true; AddItem(helm); EbonsilkGorget gorget = new EbonsilkGorget(); BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35); gorget.Hue = 0x4D5; gorget.Movable = true; AddItem(gorget); EbonsilkArms arms = new EbonsilkArms(); BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35); arms.Hue = 0x4D5; arms.Movable = true; AddItem(arms); EbonsilkChest chest = new EbonsilkChest(); BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35); chest.Hue = 0x4D5; chest.Movable = true; AddItem(chest); EbonsilkLegs legs = new EbonsilkLegs(); BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35); legs.Hue = 0x4D5; legs.Movable = true; AddItem(legs); HighBoots boots = new HighBoots(); BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35); boots.Hue = 0x4D5; boots.Movable = true; AddItem(boots); new FireSteed().Rider = this; } }