public InternalSellInfo() { Add(typeof(Hide), Hide.GetSBSellValue()); Add(typeof(SkinningKnife), SkinningKnife.GetSBSellValue()); Add(typeof(LeatherCap), LeatherCap.GetSBSellValue()); Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue()); Add(typeof(LeatherArms), LeatherArms.GetSBSellValue()); Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue()); Add(typeof(LeatherChest), LeatherChest.GetSBSellValue()); Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue()); Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue()); Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue()); Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue()); Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue()); Add(typeof(StuddedCap), StuddedCap.GetSBSellValue()); Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue()); Add(typeof(StuddedArms), StuddedArms.GetSBSellValue()); Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue()); Add(typeof(StuddedChest), StuddedChest.GetSBSellValue()); Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue()); Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue()); Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue()); Add(typeof(Shoes), Shoes.GetSBSellValue()); Add(typeof(Sandals), Sandals.GetSBSellValue()); Add(typeof(Boots), Boots.GetSBSellValue()); Add(typeof(ThighBoots), ThighBoots.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Skinning Knife", typeof(SkinningKnife), SkinningKnife.GetSBPurchaseValue(), 50, 0xEC4, 0)); Add(new GenericBuyInfo("Leather Cap", typeof(LeatherCap), LeatherCap.GetSBPurchaseValue(), 25, 7610, 0)); Add(new GenericBuyInfo("Leather Gorget", typeof(LeatherGorget), LeatherGorget.GetSBPurchaseValue(), 25, 5063, 0)); Add(new GenericBuyInfo("Leather Arms", typeof(LeatherArms), LeatherArms.GetSBPurchaseValue(), 25, 5061, 0)); Add(new GenericBuyInfo("Leather Gloves", typeof(LeatherGloves), LeatherGloves.GetSBPurchaseValue(), 25, 5070, 0)); Add(new GenericBuyInfo("Leather Chest", typeof(LeatherChest), LeatherChest.GetSBPurchaseValue(), 25, 5075, 0)); Add(new GenericBuyInfo("Female Leather Chest", typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBPurchaseValue(), 25, 7175, 0)); Add(new GenericBuyInfo("Leather Bustier", typeof(LeatherBustier), LeatherBustier.GetSBPurchaseValue(), 25, 7179, 0)); Add(new GenericBuyInfo("Leather Legs", typeof(LeatherLegs), LeatherLegs.GetSBPurchaseValue(), 25, 5074, 0)); Add(new GenericBuyInfo("Leather Skirt", typeof(LeatherSkirt), LeatherSkirt.GetSBPurchaseValue(), 25, 7177, 0)); Add(new GenericBuyInfo("Leather Shorts", typeof(LeatherShorts), LeatherShorts.GetSBPurchaseValue(), 25, 7169, 0)); Add(new GenericBuyInfo("Studded Cap", typeof(StuddedCap), StuddedCap.GetSBPurchaseValue(), 25, 7610, 1507)); Add(new GenericBuyInfo("Studded Gorget", typeof(StuddedGorget), StuddedGorget.GetSBPurchaseValue(), 25, 5078, 0)); Add(new GenericBuyInfo("Studded Arms", typeof(StuddedArms), StuddedArms.GetSBPurchaseValue(), 25, 5076, 0)); Add(new GenericBuyInfo("Studded Gloves", typeof(StuddedGloves), StuddedGloves.GetSBPurchaseValue(), 25, 5085, 0)); Add(new GenericBuyInfo("Studded Chest", typeof(StuddedChest), StuddedChest.GetSBPurchaseValue(), 25, 5090, 0)); Add(new GenericBuyInfo("Female Studded Chest", typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBPurchaseValue(), 25, 7170, 0)); Add(new GenericBuyInfo("Studded Bustier", typeof(StuddedBustier), StuddedBustier.GetSBPurchaseValue(), 25, 7181, 0)); Add(new GenericBuyInfo("Studded Legs", typeof(StuddedLegs), StuddedLegs.GetSBPurchaseValue(), 25, 5089, 0)); Add(new GenericBuyInfo("Shoes", typeof(Shoes), Shoes.GetSBPurchaseValue(), 25, 0x170F, 0)); Add(new GenericBuyInfo("Sandals", typeof(Sandals), Sandals.GetSBPurchaseValue(), 25, 0x170D, 0)); Add(new GenericBuyInfo("Boots", typeof(Boots), Boots.GetSBPurchaseValue(), 25, 0x170B, 0)); Add(new GenericBuyInfo("Thigh Boots", typeof(ThighBoots), ThighBoots.GetSBPurchaseValue(), 25, 0x1711, 0)); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 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 InternalSellInfo() { Add(typeof(LeatherCap), LeatherCap.GetSBSellValue()); Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue()); Add(typeof(LeatherArms), LeatherArms.GetSBSellValue()); Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue()); Add(typeof(LeatherChest), LeatherChest.GetSBSellValue()); Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue()); Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue()); Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue()); Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue()); Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue()); Add(typeof(StuddedCap), StuddedCap.GetSBSellValue()); Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue()); Add(typeof(StuddedArms), StuddedArms.GetSBSellValue()); Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue()); Add(typeof(StuddedChest), StuddedChest.GetSBSellValue()); Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue()); Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue()); Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue()); Add(typeof(RingmailHelm), RingmailHelm.GetSBSellValue()); Add(typeof(RingmailGorget), RingmailGorget.GetSBSellValue()); Add(typeof(RingmailArms), RingmailArms.GetSBSellValue()); Add(typeof(RingmailGloves), RingmailGloves.GetSBSellValue()); Add(typeof(RingmailChest), RingmailChest.GetSBSellValue()); Add(typeof(RingmailLegs), RingmailLegs.GetSBSellValue()); Add(typeof(ChainmailCoif), ChainmailCoif.GetSBSellValue()); Add(typeof(ChainmailGorget), ChainmailGorget.GetSBSellValue()); Add(typeof(ChainmailArms), ChainmailArms.GetSBSellValue()); Add(typeof(ChainmailGloves), ChainmailGloves.GetSBSellValue()); Add(typeof(ChainmailChest), ChainmailChest.GetSBSellValue()); Add(typeof(ChainmailLegs), ChainmailLegs.GetSBSellValue()); Add(typeof(PlateHelm), PlateHelm.GetSBSellValue()); Add(typeof(PlateGorget), PlateGorget.GetSBSellValue()); Add(typeof(PlateArms), PlateArms.GetSBSellValue()); Add(typeof(PlateGloves), PlateGloves.GetSBSellValue()); Add(typeof(PlateChest), PlateChest.GetSBSellValue()); Add(typeof(FemalePlateChest), FemalePlateChest.GetSBSellValue()); Add(typeof(PlateLegs), PlateLegs.GetSBSellValue()); Add(typeof(Bascinet), Bascinet.GetSBSellValue()); Add(typeof(CloseHelm), CloseHelm.GetSBSellValue()); Add(typeof(NorseHelm), NorseHelm.GetSBSellValue()); Add(typeof(Buckler), Buckler.GetSBSellValue()); Add(typeof(MetalShield), MetalShield.GetSBSellValue()); Add(typeof(BronzeShield), BronzeShield.GetSBSellValue()); Add(typeof(MetalKiteShield), MetalKiteShield.GetSBSellValue()); Add(typeof(HeaterShield), HeaterShield.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Leather Cap", typeof(LeatherCap), LeatherCap.GetSBPurchaseValue(), 25, 7610, 0)); Add(new GenericBuyInfo("Leather Gorget", typeof(LeatherGorget), LeatherGorget.GetSBPurchaseValue(), 25, 5063, 0)); Add(new GenericBuyInfo("Leather Arms", typeof(LeatherArms), LeatherArms.GetSBPurchaseValue(), 25, 5061, 0)); Add(new GenericBuyInfo("Leather Gloves", typeof(LeatherGloves), LeatherGloves.GetSBPurchaseValue(), 25, 5070, 0)); Add(new GenericBuyInfo("Leather Chest", typeof(LeatherChest), LeatherChest.GetSBPurchaseValue(), 25, 5075, 0)); Add(new GenericBuyInfo("Female Leather Chest", typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBPurchaseValue(), 25, 7175, 0)); Add(new GenericBuyInfo("Leather Bustier", typeof(LeatherBustier), LeatherBustier.GetSBPurchaseValue(), 25, 7179, 0)); Add(new GenericBuyInfo("Leather Legs", typeof(LeatherLegs), LeatherLegs.GetSBPurchaseValue(), 25, 5074, 0)); Add(new GenericBuyInfo("Leather Skirt", typeof(LeatherSkirt), LeatherSkirt.GetSBPurchaseValue(), 25, 7177, 0)); Add(new GenericBuyInfo("Leather Shorts", typeof(LeatherShorts), LeatherShorts.GetSBPurchaseValue(), 25, 7169, 0)); Add(new GenericBuyInfo("Studded Cap", typeof(StuddedCap), StuddedCap.GetSBPurchaseValue(), 25, 7610, 1507)); Add(new GenericBuyInfo("Studded Gorget", typeof(StuddedGorget), StuddedGorget.GetSBPurchaseValue(), 25, 5078, 0)); Add(new GenericBuyInfo("Studded Arms", typeof(StuddedArms), StuddedArms.GetSBPurchaseValue(), 25, 5076, 0)); Add(new GenericBuyInfo("Studded Gloves", typeof(StuddedGloves), StuddedGloves.GetSBPurchaseValue(), 25, 5085, 0)); Add(new GenericBuyInfo("Studded Chest", typeof(StuddedChest), StuddedChest.GetSBPurchaseValue(), 25, 5090, 0)); Add(new GenericBuyInfo("Female Studded Chest", typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBPurchaseValue(), 25, 7170, 0)); Add(new GenericBuyInfo("Studded Bustier", typeof(StuddedBustier), StuddedBustier.GetSBPurchaseValue(), 25, 7181, 0)); Add(new GenericBuyInfo("Studded Legs", typeof(StuddedLegs), StuddedLegs.GetSBPurchaseValue(), 25, 5089, 0)); Add(new GenericBuyInfo("Ringmail Helm", typeof(RingmailHelm), RingmailHelm.GetSBPurchaseValue(), 25, 5131, 0)); Add(new GenericBuyInfo("Ringmail Gorget", typeof(RingmailGorget), RingmailGorget.GetSBPurchaseValue(), 25, 5078, 1812)); Add(new GenericBuyInfo("Ringmail Arms", typeof(RingmailArms), RingmailArms.GetSBPurchaseValue(), 25, 0x13EE, 0)); Add(new GenericBuyInfo("Ringmail Gloves", typeof(RingmailGloves), RingmailGloves.GetSBPurchaseValue(), 25, 0x13eb, 0)); Add(new GenericBuyInfo("Ringmail Chest", typeof(RingmailChest), RingmailChest.GetSBPurchaseValue(), 25, 0x13ec, 0)); Add(new GenericBuyInfo("Ringmail Legs", typeof(RingmailLegs), RingmailLegs.GetSBPurchaseValue(), 25, 0x13F0, 0)); Add(new GenericBuyInfo("Chainmail Coif", typeof(ChainmailCoif), ChainmailCoif.GetSBPurchaseValue(), 25, 0x13BB, 0)); Add(new GenericBuyInfo("Chainmail Gorget", typeof(ChainmailGorget), ChainmailGorget.GetSBPurchaseValue(), 25, 5063, 2500)); Add(new GenericBuyInfo("Chainmail Arms", typeof(ChainmailArms), ChainmailArms.GetSBPurchaseValue(), 25, 5103, 2500)); Add(new GenericBuyInfo("Chainmail Gloves", typeof(ChainmailGloves), ChainmailGloves.GetSBPurchaseValue(), 25, 5106, 2500)); Add(new GenericBuyInfo("Chainmail Chest", typeof(ChainmailChest), ChainmailChest.GetSBPurchaseValue(), 25, 0x13BF, 0)); Add(new GenericBuyInfo("Chainmail Legs", typeof(ChainmailLegs), ChainmailLegs.GetSBPurchaseValue(), 25, 0x13BE, 0)); Add(new GenericBuyInfo("Platemail Helm", typeof(PlateHelm), PlateHelm.GetSBPurchaseValue(), 25, 0x1412, 0)); Add(new GenericBuyInfo("Platemail Gorget", typeof(PlateGorget), PlateGorget.GetSBPurchaseValue(), 25, 0x1413, 0)); Add(new GenericBuyInfo("Platemail Arms", typeof(PlateArms), PlateArms.GetSBPurchaseValue(), 25, 0x1410, 0)); Add(new GenericBuyInfo("Platemail Gloves", typeof(PlateGloves), PlateGloves.GetSBPurchaseValue(), 25, 0x1414, 0)); Add(new GenericBuyInfo("Platemail PlateChest", typeof(PlateChest), PlateChest.GetSBPurchaseValue(), 25, 0x1415, 0)); Add(new GenericBuyInfo("Female Plate Chest", typeof(FemalePlateChest), FemalePlateChest.GetSBPurchaseValue(), 25, 7173, 0)); Add(new GenericBuyInfo("Platemail Legs", typeof(PlateLegs), PlateLegs.GetSBPurchaseValue(), 25, 0x1411, 0)); Add(new GenericBuyInfo("Bascinet", typeof(Bascinet), Bascinet.GetSBPurchaseValue(), 25, 5132, 0)); Add(new GenericBuyInfo("Close Helm", typeof(CloseHelm), CloseHelm.GetSBPurchaseValue(), 25, 5129, 0)); Add(new GenericBuyInfo("Norse Helm", typeof(NorseHelm), NorseHelm.GetSBPurchaseValue(), 25, 5135, 0)); Add(new GenericBuyInfo("Buckler", typeof(Buckler), Buckler.GetSBPurchaseValue(), 25, 0x1B73, 0)); Add(new GenericBuyInfo("Metal Shield", typeof(MetalShield), MetalShield.GetSBPurchaseValue(), 25, 0x1B7B, 0)); Add(new GenericBuyInfo("Bronze Shield", typeof(BronzeShield), BronzeShield.GetSBPurchaseValue(), 25, 0x1B72, 0)); Add(new GenericBuyInfo("Metal Kite Shield", typeof(MetalKiteShield), MetalKiteShield.GetSBPurchaseValue(), 25, 0x1B74, 0)); Add(new GenericBuyInfo("Heater Shield", typeof(HeaterShield), HeaterShield.GetSBPurchaseValue(), 25, 0x1B76, 0)); }
public override void InitOutfit() { Name = "Sorastia Vina"; Body = 401; Female = true; Race = Race.Human; Hue = 33775; HairItemID = 8252; HairHue = 1109; SetSkill(SkillName.Meditation, 120.0); LeatherBustierArms chest = new LeatherBustierArms(); chest.Hue = 2211; chest.Movable = false; AddItem(chest); LeatherArms arms = new LeatherArms(); arms.Hue = 2211; arms.Movable = false; AddItem(arms); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 2211; gloves.Movable = false; AddItem(gloves); LeatherShorts legs = new LeatherShorts(); legs.Hue = 2211; legs.Movable = false; AddItem(legs); CloakOfHumility cloak = new CloakOfHumility(); cloak.Hue = 658; cloak.Movable = false; AddItem(cloak); WoodlandBelt belt = new WoodlandBelt(); belt.Hue = 658; belt.Movable = false; AddItem(belt); AddItem(new ThighBoots(658)); }
public override void InitOutfit() { Name = "Abigail"; Body = 401; Female = true; Race = Race.Human; Hue = 33822; HairItemID = 8252; HairHue = 1109; SetStr(152); SetDex(108); SetInt(28); SetSkill(SkillName.ArmsLore, 64.0, 100.0); SetSkill(SkillName.Blacksmith, 65.0, 88.0); SetSkill(SkillName.Fencing, 45.0, 68.0); SetSkill(SkillName.Macing, 45.0, 68.0); SetSkill(SkillName.Swords, 45.0, 68.0); SetSkill(SkillName.Tactics, 36.0, 68.0); PackGold(8, 16); AddItem(new ThighBoots()); FemaleLeatherChest chest = new FemaleLeatherChest(); chest.Movable = true; AddItem(chest); LeatherGorget gorget = new LeatherGorget(); gorget.Movable = true; AddItem(gorget); LeatherShorts legs = new LeatherShorts(); legs.Movable = true; AddItem(legs); Spear weapon = new Spear(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); }
public AutumnwoodAdventurer() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the adventurer"; SetStr(128, 160); SetDex(87, 100); SetInt(32, 35); SetHits(125, 150); SetSkill(SkillName.Anatomy, 20.0); SetSkill(SkillName.Fencing, 82.6, 93.1); SetSkill(SkillName.Healing, 48.2, 61.9); SetSkill(SkillName.Macing, 82.6, 93.1); SetSkill(SkillName.MagicResist, 38.9, 45.5); SetSkill(SkillName.Swords, 82.6, 93.1); SetSkill(SkillName.Tactics, 48.2, 61.9); SetSkill(SkillName.Wrestling, 49.4, 57.6); Fame = -2500; Karma = 2500; AddItem(new HeavyBoots(2005)); AddItem(new Bandana(2005)); LeatherGorget gorget = new LeatherGorget(); gorget.Hue = 2001; gorget.Movable = true; AddItem(gorget); LeatherArms arms = new LeatherArms(); arms.Hue = 2001; arms.Movable = true; AddItem(arms); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 2005; gloves.Movable = true; AddItem(gloves); if (this.Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); Hue = Utility.RandomSkinHue(); LeatherBustierArms chest = new LeatherBustierArms(); chest.Hue = 2005; chest.Movable = true; AddItem(chest); LeatherShorts legs = new LeatherShorts(); legs.Hue = 2001; legs.Movable = true; AddItem(legs); } else { Body = 400; Name = NameList.RandomName("male"); Hue = Utility.RandomSkinHue(); LeatherChest chest = new LeatherChest(); chest.Hue = 2005; chest.Movable = true; AddItem(chest); LeatherLegs legs = new LeatherLegs(); legs.Hue = 2001; legs.Movable = true; AddItem(legs); } Utility.AssignRandomHair(this); switch (Utility.Random(8)) { case 0: AddItem(new Cutlass()); break; case 1: AddItem(new Kryss()); break; case 2: AddItem(new Longsword()); break; case 3: AddItem(new Scimitar()); break; case 4: AddItem(new VikingSword()); break; case 5: AddItem(new Club()); break; case 6: AddItem(new Mace()); break; case 7: AddItem(new WarMace()); break; } switch (Utility.Random(6)) { case 0: AddItem(new BronzeShield()); break; case 1: AddItem(new Buckler()); break; case 2: AddItem(new MetalKiteShield()); break; case 3: AddItem(new MetalShield()); break; case 4: AddItem(new WoodenKiteShield()); break; case 5: AddItem(new WoodenShield()); break; } Container pack = new Backpack(); pack.DropItem(new Pitcher(BeverageType.Water)); pack.DropItem(new Gold(Utility.RandomMinMax(5, 8))); pack.DropItem(new Bandage(Utility.RandomMinMax(5, 10))); PackItem(pack); }