///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreatePlateArmor(string gender) { Item item = null; int nType = Utility.RandomMinMax(0, 24); switch (nType) { case 0: case 1: item = new PlateGorget(); item.Name = "platemail gorget"; break; case 2: case 3: item = new PlateLegs(); item.Name = "platemail leggings"; break; case 4: case 5: item = new PlateArms(); item.Name = "platemail arms"; break; case 6: case 7: item = new PlateGloves(); item.Name = "platemail gauntlets"; break; case 8: case 9: item = new PlateChest(); item.Name = "platemail tunic"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new FemalePlateChest(); item.Name = "platemail tunic"; } break; case 10: case 11: case 12: case 13: { item = new PlateHelm(); item.Name = "platemail helm"; } break; case 14: item = new PlateHatsuburi(); item.Name = "platemail hatsuburi"; break; case 15: item = new LightPlateJingasa(); item.Name = "platemail jingasa"; break; case 16: item = new HeavyPlateJingasa(); item.Name = "platemail jingasa"; break; case 17: item = new SmallPlateJingasa(); item.Name = "platemail jingasa"; break; case 18: item = new DecorativePlateKabuto(); item.Name = "platemail kabuto"; break; case 19: item = new PlateBattleKabuto(); item.Name = "platemail kabuto"; break; case 20: item = new StandardPlateKabuto(); item.Name = "platemail kabuto"; break; case 21: item = new PlateDo(); item.Name = "platemail do"; break; case 22: item = new PlateHiroSode(); item.Name = "platemail hiro sade"; break; case 23: item = new PlateSuneate(); item.Name = "platemail suneate"; break; case 24: item = new PlateHaidate(); item.Name = "platemail haidate"; break; } return(item); }
public DragonSanctuarySamuraiMoonElf() : base(AIType.AI_Melee, 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.MagicResist, 70.0); SetSkill(SkillName.Swords, 100.0); SetSkill(SkillName.Tactics, 100.0); Karma = 10000; m_Timer = new MoveTimer(this); ChangeLocation(); PackItem(new Bandage(Utility.RandomMinMax(15, 20))); if (this.Female = Utility.RandomBool()) { Name = NameList.RandomName("elven female"); Title = "Svartalfar Samurai of Dragon Sanctuary"; Body = 606; 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); EbonyMoonblade weapon = new EbonyMoonblade(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); AmazonianFighterHelmet helmet = new AmazonianFighterHelmet(); helmet.Movable = true; AddItem(helmet); AmazonianFighterBustier chest = new AmazonianFighterBustier(); chest.Movable = true; AddItem(chest); AmazonianFighterGloves gloves = new AmazonianFighterGloves(); gloves.Movable = true; AddItem(gloves); AddItem(new AmazonianFighterBelt()); AddItem(new AmazonianFighterBoots()); new Ridgeback().Rider = this; } else { Name = NameList.RandomName("elven male"); Title = "Svartalfar Samurai 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); EbonyGlassBardiche weapon = new EbonyGlassBardiche(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); DecorativePlateKabuto helm = new DecorativePlateKabuto(); BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35); helm.Hue = 0x4D5; helm.Movable = true; AddItem(helm); PlateMempo gorget = new PlateMempo(); BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35); gorget.Hue = 0x4D5; gorget.Movable = true; AddItem(gorget); PlateHiroSode arms = new PlateHiroSode(); BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35); arms.Hue = 0x4D5; arms.Movable = true; AddItem(arms); PlateDo chest = new PlateDo(); BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35); chest.Hue = 0x4D5; chest.Movable = true; AddItem(chest); PlateHaidate legs = new PlateHaidate(); BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35); legs.Hue = 0x4D5; legs.Movable = true; AddItem(legs); FurBoots boots = new FurBoots(); BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35); boots.Hue = 0x4D5; boots.Movable = true; AddItem(boots); new SavageRidgeback().Rider = this; } }
public DragonSanctuarySamuraiHuman() : base(AIType.AI_Melee, 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.MagicResist, 70.0); SetSkill(SkillName.Swords, 100.0); SetSkill(SkillName.Tactics, 100.0); Karma = 10000; m_Timer = new MoveTimer(this); ChangeLocation(); PackItem(new Bandage(Utility.RandomMinMax(15, 20))); if (this.Female = Utility.RandomBool()) { Name = NameList.RandomName("female"); Title = "Human Samurai of Dragon Sanctuary"; Body = 401; Hue = Utility.RandomList(33784, 33785, 33788, 33791, 33794, 33798, 33800, 33805, 33806, 33808, 33815, 33821, 33822, 33824, 33825); HairHue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); HairItemID = Utility.RandomList(8251, 8252, 8253, 8260, 8261, 8262, 8263, 8264, 8265); Daisho weapon = new Daisho(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); AmazonianFighterHelmet helmet = new AmazonianFighterHelmet(); helmet.Movable = true; AddItem(helmet); AmazonianFighterBustier chest = new AmazonianFighterBustier(); chest.Movable = true; AddItem(chest); AmazonianFighterGloves gloves = new AmazonianFighterGloves(); gloves.Movable = true; AddItem(gloves); AddItem(new AmazonianFighterBelt()); AddItem(new AmazonianFighterBoots()); new ForestOstard().Rider = this; } else { Name = NameList.RandomName("male"); Title = "Human Samurai of Dragon Sanctuary"; Body = 400; Hue = Utility.RandomList(33784, 33785, 33788, 33791, 33794, 33798, 33800, 33805, 33806, 33808, 33815, 33821, 33822, 33824, 33825); HairHue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); HairItemID = Utility.RandomList(8251, 8252, 8253, 8260, 8261, 8262, 8263, 8264, 8265); FacialHairHue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); FacialHairItemID = Utility.RandomList(8254, 8255, 8256, 8257, 8267, 8268, 8269); NoDachi weapon = new NoDachi(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); DecorativePlateKabuto helm = new DecorativePlateKabuto(); BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35); helm.Hue = 0x4D5; helm.Movable = true; AddItem(helm); PlateMempo gorget = new PlateMempo(); BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35); gorget.Hue = 0x4D5; gorget.Movable = true; AddItem(gorget); PlateHiroSode arms = new PlateHiroSode(); BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35); arms.Hue = 0x4D5; arms.Movable = true; AddItem(arms); PlateDo chest = new PlateDo(); BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35); chest.Hue = 0x4D5; chest.Movable = true; AddItem(chest); PlateHaidate legs = new PlateHaidate(); BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35); legs.Hue = 0x4D5; legs.Movable = true; AddItem(legs); FurBoots boots = new FurBoots(); BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35); boots.Hue = 0x4D5; boots.Movable = true; AddItem(boots); new FrenziedOstard().Rider = this; } }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateMetalArmor(string gender) { Item item = null; int nType = Utility.RandomMinMax(0, 26); switch (nType) { case 0: item = new ChainCoif(); item.Name = "chainmail coif"; break; case 1: item = new ChainChest(); item.Name = "chainmail tunic"; break; case 2: item = new ChainLegs(); item.Name = "chainmail leggings"; break; case 3: item = new RingmailChest(); item.Name = "ringmail tunic"; break; case 4: item = new RingmailLegs(); item.Name = "ringmail leggings"; break; case 5: item = new RingmailArms(); item.Name = "ringmail sleeves"; break; case 6: item = new RingmailGloves(); item.Name = "ringmail gloves"; break; case 7: item = new PlateGorget(); item.Name = "platemail gorget"; break; case 8: item = new PlateLegs(); item.Name = "platemail leggings"; break; case 9: item = new PlateArms(); item.Name = "platemail arms"; break; case 10: item = new PlateGloves(); item.Name = "platemail gauntlets"; break; case 11: item = new PlateChest(); item.Name = "platemail tunic"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new FemalePlateChest(); item.Name = "platemail tunic"; } break; case 12: case 13: switch (Utility.RandomMinMax(0, 4)) { case 0: item = new PlateHelm(); item.Name = "platemail helm"; break; case 1: item = new CloseHelm(); item.Name = "close helm"; break; case 2: item = new Helmet(); item.Name = "helmet"; break; case 3: item = new NorseHelm(); item.Name = "norse helm"; break; case 4: item = new Bascinet(); item.Name = "bascinet"; break; } break; case 14: item = new ChainHatsuburi(); item.Name = "chainmail hatsuburi"; break; case 15: item = new PlateHatsuburi(); item.Name = "platemail hatsuburi"; break; case 16: item = new LightPlateJingasa(); item.Name = "platemail jingasa"; break; case 17: item = new HeavyPlateJingasa(); item.Name = "platemail jingasa"; break; case 18: item = new SmallPlateJingasa(); item.Name = "platemail jingasa"; break; case 19: item = new DecorativePlateKabuto(); item.Name = "platemail kabuto"; break; case 20: item = new PlateBattleKabuto(); item.Name = "platemail kabuto"; break; case 21: item = new StandardPlateKabuto(); item.Name = "platemail kabuto"; break; case 22: item = new PlateDo(); item.Name = "platemail do"; break; case 23: item = new PlateHiroSode(); item.Name = "platemail hiro sade"; break; case 24: item = new PlateSuneate(); item.Name = "platemail suneate"; break; case 25: item = new PlateHaidate(); item.Name = "platemail haidate"; break; case 26: item = new ChainHatsuburi(); item.Name = "chainmail hatsuburi"; break; } return(item); }
public DragonSanctuarySamuraiSunElf() : base(AIType.AI_Melee, 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.MagicResist, 70.0); SetSkill(SkillName.Swords, 100.0); SetSkill(SkillName.Tactics, 100.0); Karma = 10000; m_Timer = new MoveTimer(this); ChangeLocation(); PackItem(new Bandage(Utility.RandomMinMax(15, 20))); if (this.Female = Utility.RandomBool()) { Name = NameList.RandomName("elven female"); Title = "Ljosalfar Samurai 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); RadiantScimitar weapon = new RadiantScimitar(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); AmazonianFighterHelmet helmet = new AmazonianFighterHelmet(); helmet.Movable = true; AddItem(helmet); AmazonianFighterBustier chest = new AmazonianFighterBustier(); chest.Movable = true; AddItem(chest); AmazonianFighterGloves gloves = new AmazonianFighterGloves(); gloves.Movable = true; AddItem(gloves); AddItem(new AmazonianFighterBelt()); AddItem(new AmazonianFighterBoots()); new Unicorn().Rider = this; } else { Name = NameList.RandomName("elven male"); Title = "Ljosalfar Samurai of Dragon Sanctuary"; Body = 605; 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); SetSkill(SkillName.Fencing, 100.0); WarCleaver weapon = new WarCleaver(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.Slayer = SlayerName.ReptilianDeath; weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 0x4D5; weapon.Movable = true; AddItem(weapon); DecorativePlateKabuto helm = new DecorativePlateKabuto(); BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35); helm.Hue = 0x4D5; helm.Movable = true; AddItem(helm); PlateMempo gorget = new PlateMempo(); BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35); gorget.Hue = 0x4D5; gorget.Movable = true; AddItem(gorget); PlateHiroSode arms = new PlateHiroSode(); BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35); arms.Hue = 0x4D5; arms.Movable = true; AddItem(arms); PlateDo chest = new PlateDo(); BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35); chest.Hue = 0x4D5; chest.Movable = true; AddItem(chest); PlateHaidate legs = new PlateHaidate(); BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35); legs.Hue = 0x4D5; legs.Movable = true; AddItem(legs); FurBoots boots = new FurBoots(); BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35); boots.Hue = 0x4D5; boots.Movable = true; AddItem(boots); new Kirin().Rider = this; } }