///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateLeatherArmor(string gender) { Item item = null; int nType = Utility.RandomMinMax(0, 12); switch (nType) { case 0: item = new LeatherArms(); item.Name = "leather sleeves"; break; case 1: item = new LeatherChest(); item.Name = "leather tunic"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new FemaleLeatherChest(); item.Name = "leather armor"; } else if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new LeatherBustierArms(); item.Name = "leather bustier"; } break; case 2: item = new LeatherGloves(); item.Name = "leather gloves"; break; case 3: item = new LeatherGorget(); item.Name = "leather gorget"; break; case 4: item = new LeatherLegs(); item.Name = "leather leggings"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new LeatherSkirt(); item.Name = "leather skirt"; } if (Utility.RandomMinMax(0, 5) == 1) { item = new LeatherShorts(); item.Name = "leather shorts"; } break; case 5: item = new LeatherCap(); item.Name = "leather cap"; break; case 6: item = new LeatherJingasa(); item.Name = "leather jingasa"; break; case 7: item = new LeatherDo(); item.Name = "leather do"; break; case 8: item = new LeatherHiroSode(); item.Name = "leather hiro sode"; break; case 9: item = new LeatherSuneate(); item.Name = "leather suneate"; break; case 10: item = new LeatherHaidate(); item.Name = "leather haidate"; break; case 11: item = new LeatherNinjaPants(); item.Name = "leather ninja pants"; break; case 12: item = new LeatherNinjaJacket(); item.Name = "leather ninja jacket"; break; } return(item); }
public Stephanos() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Stephanos"; Body = 400; Female = false; SetStr(536, 585); SetDex(126, 145); SetInt(281, 305); SetHits(322, 351); SetDamage(13, 16); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 35, 45); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 25, 35); SetResistance(ResistanceType.Poison, 30, 40); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.EvalInt, 85.1, 100.0); SetSkill(SkillName.Magery, 85.1, 100.0); SetSkill(SkillName.MagicResist, 80.2, 110.0); SetSkill(SkillName.Tactics, 60.1, 80.0); SetSkill(SkillName.Wrestling, 40.1, 50.0); Fame = 11500; Karma = -11500; VirtualArmor = 40; Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A)); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); NinjaTabi ninjatabi = new NinjaTabi(); ninjatabi.Hue = 0x1; AddItem(ninjatabi); LeatherNinjaPants ninjapants = new LeatherNinjaPants(); ninjapants.Hue = 1; AddItem(ninjapants); LeatherNinjaJacket ninjajacket = new LeatherNinjaJacket(); ninjajacket.Hue = 1; AddItem(ninjajacket); LeatherJingasa jingasa = new LeatherJingasa(); jingasa.Hue = 1; AddItem(jingasa); }