public static Quest TutorialLeatherQuest() { var quest = new Quest() { Name = "Get Equipped!", Description = "<div class='questColor'><p>Loot the goblin camp, there is 6 pieces of leather armour hidden here that you can use.</p>" + "<ul><li>Leather Helmet</li>" + "<li>Leather vest</li>" + "<li>Leather sleeves</li>" + "<li>Leather gloves</li>" + "<li>Leather leggings</li>" + "<li>Leather boots</li></ul>" + "<p>You will need to look and examine to find all these items.</p></div>", RewardXp = 500, RewardGold = 20, Type = Quest.QuestType.FindItem, QuestItem = new List <Item.Item>() { LeatherHead.LeatherHelmet(), LeatherBody.LeatherVest(), LeatherLegs.LeatherLeggings(), LeatherArms.LeatherSleeves(), LeatherFeet.LeatherBoots(), LeatherHands.LeatherGloves() }, RewardDialog = new DialogTree() { Message = "A curved dagger appears in your inventory...test" }, RewardItem = DaggerBasic.BronzeCurvedDagger() }; return(quest); }
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 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 override void InitOutfit() { this.AddItem(new Backpack()); this.AddItem(new Boots(0x1BB)); Item item; item = new LeatherLegs(); item.Hue = 0x6C8; this.AddItem(item); item = new LeatherGloves(); item.Hue = 0x1BB; this.AddItem(item); item = new LeatherChest(); item.Hue = 0x1BB; this.AddItem(item); item = new LeatherArms(); item.Hue = 0x4C7; this.AddItem(item); item = new CompositeBow(); item.Hue = 0x5DD; this.AddItem(item); }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Sandals(0x8FD)); AddItem(new BoneHelm()); Item item; item = new LeatherLegs(); item.Hue = 0x2C3; AddItem(item); item = new LeatherGloves(); item.Hue = 0x2C3; AddItem(item); item = new LeatherGorget(); item.Hue = 0x2C3; AddItem(item); item = new LeatherChest(); item.Hue = 0x2C3; AddItem(item); item = new LeatherArms(); item.Hue = 0x2C3; AddItem(item); }
public Kashiel() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Title = "the archer"; Race = Race.Human; Body = 0x191; Female = true; Hue = Race.RandomSkinHue(); InitStats(100, 100, 25); Utility.AssignRandomHair(this); AddItem(new Backpack()); Item item; item = new LeatherChest(); item.Hue = 0x1BB; AddItem(item); item = new LeatherLegs(); item.Hue = 0x901; AddItem(item); item = new LeatherArms(); item.Hue = 0x901; AddItem(item); item = new LeatherGloves(); item.Hue = 0x1BB; AddItem(item); AddItem(new Boots(0x1BB)); AddItem(new CompositeBow()); }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Boots(0x1BB)); Item item; item = new LeatherLegs(); item.Hue = 0x901; AddItem(item); item = new LeatherGloves(); item.Hue = 0x1BB; AddItem(item); item = new LeatherChest(); item.Hue = 0x1BB; AddItem(item); item = new LeatherArms(); item.Hue = 0x901; AddItem(item); item = new CompositeBow(); item.Hue = 0x606; AddItem(item); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateWoodenArmor() { Item item = null; switch (Utility.RandomMinMax(0, 7)) { case 0: item = new LeatherArms(); item.ItemID = 0x1410; item.Name = "arms"; break; case 1: item = new LeatherChest(); item.ItemID = 0x1415; item.Name = "tunic"; break; case 2: item = new LeatherGloves(); item.ItemID = 0x1414; item.Name = "gauntlets"; break; case 3: item = new LeatherGorget(); item.ItemID = 0x1413; item.Name = "gorget"; break; case 4: item = new LeatherLegs(); item.ItemID = 0x1411; item.Name = "leggings"; break; case 5: item = new LeatherCap(); item.ItemID = 0x1412; item.Name = "helm"; break; case 6: item = new WoodenKiteShield(); item.Name = "kite shield"; break; case 7: item = new WoodenShield(); item.Name = "shield"; break; } ((BaseArmor)item).Resource = CraftResource.RegularWood; return(item); }
public override void GenerateLoot() { if (Utility.RandomDouble() < 0.08) //8% chance to drop only one armor at a time. { BaseArmor armor = Loot.RandomArmor(true); switch (Utility.Random(6)) { case 0: armor = new LeatherChest(); break; case 1: armor = new LeatherLegs(); break; case 2: armor = new LeatherCap(); break; case 3: armor = new LeatherArms(); break; case 4: armor = new LeatherGloves(); break; case 5: armor = new LeatherGorget(); break; } armor.Attributes.LowerManaCost = 1; armor.Attributes.LowerRegCost = 1; PackItem(armor); } }
public override void InitOutfit() { Name = "Ozzy Mason"; Title = "(Letter Delivery)"; Body = 400; Female = false; Race = Race.Human; Hue = 33807; HairItemID = 8252; HairHue = 1109; FacialHairItemID = 0; FacialHairHue = 0; SetStr(257); SetDex(156); SetInt(127); SetSkill(SkillName.Anatomy, 59.5, 68.7); SetSkill(SkillName.ArmsLore, 64.0, 100.0); SetSkill(SkillName.Swords, 60.0, 83.0); SetSkill(SkillName.Tactics, 60.0, 83.0); SetSkill(SkillName.Parry, 61.0, 93.0); PackGold(26, 43); LeatherArms arms = new LeatherArms(); arms.Hue = 2207; arms.Movable = true; AddItem(arms); StuddedChest chest = new StuddedChest(); chest.Hue = 2414; chest.Movable = true; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 2414; gloves.Movable = true; AddItem(gloves); LeatherLegs legs = new LeatherLegs(); legs.Hue = 2207; legs.Movable = true; AddItem(legs); Longsword weapon = new Longsword(); weapon.Quality = WeaponQuality.Exceptional; weapon.Movable = true; AddItem(weapon); AddItem(new Shoes(2414)); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 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 = "Luthor Yorkshire"; Body = 400; Female = false; Race = Race.Human; Hue = 33815; HairItemID = 8261; HairHue = 1149; FacialHairItemID = 8257; FacialHairHue = 1149; SetStr(95); SetDex(72); SetInt(31); SetSkill(SkillName.ArmsLore, 64.0, 100.0); SetSkill(SkillName.Fencing, 45.0, 68.0); SetSkill(SkillName.Macing, 87.2, 95.3); SetSkill(SkillName.Parry, 61.0, 93.0); SetSkill(SkillName.Swords, 45.0, 68.0); SetSkill(SkillName.Tactics, 60.0, 83.0); PackGold(48, 96); AddItem(new HeavyBoots()); LeatherArms arms = new LeatherArms(); arms.Movable = true; AddItem(arms); RingmailChest chest = new RingmailChest(); chest.Movable = true; AddItem(chest); LeatherGorget gorget = new LeatherGorget(); gorget.Movable = true; AddItem(gorget); LeatherLegs legs = new LeatherLegs(); legs.Movable = true; AddItem(legs); Mace weapon = new Mace(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); }
public SerpentsHoldMage() : base(AIType.AI_Mage, FightMode.Weakest, 10, 5, 0.1, 0.2) { Title = "the Mage"; AddItem(new Boots()); AddItem(new WizardsHat(237)); AddItem(new Cloak(237)); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 2301; AddItem(gloves); AddItem(new BodySash(237)); LeatherLegs legs = new LeatherLegs(); legs.Hue = 2301; AddItem(legs); SetStr(1000, 1000); SetDex(250, 250); SetInt(250, 250); SetSkill(SkillName.MagicResist, 120.0, 120.0); SetSkill(SkillName.Magery, 120.0, 120.0); SetSkill(SkillName.Tactics, 65.0, 87.5); SetSkill(SkillName.Wrestling, 120.0, 120.0); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); FemaleLeatherChest chest = new FemaleLeatherChest(); chest.Hue = 2301; AddItem(chest); AddItem(new PlainDress(2301)); } else { Body = 400; Name = NameList.RandomName("male"); LeatherChest chest = new LeatherChest(); chest.Hue = 2301; AddItem(chest); LeatherArms arms = new LeatherArms(); arms.Hue = 2301; AddItem(arms); AddItem(new Robe(2301)); } Utility.AssignRandomHair(this); }
public Sparrow() { Name = "Captian Jack Sparrow"; Title = "The Pirate"; Body = 400; CantWalk = true; Hue = Utility.RandomSkinHue(); LeatherArms LeatherArms = new LeatherArms(); LeatherArms.Hue = 1157; AddItem(LeatherArms); LeatherCap LeatherCap = new LeatherCap(); LeatherCap.Hue = 1157; AddItem(LeatherCap); LeatherGloves LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 1157; AddItem(LeatherGloves); LeatherLegs LeatherLegs = new LeatherLegs(); LeatherLegs.Hue = 1157; AddItem(LeatherLegs); LeatherChest LeatherChest = new LeatherChest(); LeatherChest.Hue = 1157; AddItem(LeatherChest); LeatherGorget LeatherGorget = new LeatherGorget(); LeatherGorget.Hue = 1157; AddItem(LeatherGorget); int hairHue = 1153; switch (Utility.Random(1)) { case 0: AddItem(new PonyTail(hairHue)); break; case 1: AddItem(new Goatee(hairHue)); break; } Blessed = true; }
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 MorgBergen() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the Cursed"; Hue = 0x8596; Body = 0x190; Name = "Morg Bergen"; AddItem(new ShortPants(0x59C)); Bardiche bardiche = new Bardiche(); LeatherGloves gloves = new LeatherGloves(); LeatherArms arms = new LeatherArms(); bardiche.Hue = 0x96F; bardiche.Movable = false; gloves.Hue = 0x96F; arms.Hue = 0x96F; AddItem(bardiche); AddItem(gloves); AddItem(arms); SetStr(111, 120); SetDex(111, 120); SetInt(51, 60); SetHits(180, 207); SetMana(0); SetDamage(9, 17); SetDamageType(ResistanceType.Physical, 40); SetDamageType(ResistanceType.Cold, 60); SetResistance(ResistanceType.Physical, 35, 45); SetResistance(ResistanceType.Fire, 25, 30); SetResistance(ResistanceType.Cold, 50, 60); SetResistance(ResistanceType.Poison, 25, 35); SetResistance(ResistanceType.Energy, 25, 35); SetSkill(SkillName.Swords, 90.1, 100.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.MagicResist, 80.1, 90.0); SetSkill(SkillName.Anatomy, 90.1, 100.0); Fame = 5000; Karma = -1000; }
public override void InitOutfit() { Name = "Gemma Underhill"; Body = 400; Female = false; Race = Race.Human; Hue = 33794; HairItemID = 8264; HairHue = 1153; FacialHairItemID = 8267; FacialHairHue = 1153; SetStr(84); SetDex(46); SetInt(65); SetSkill(SkillName.Tactics, 60.0, 83.0); SetSkill(SkillName.Parry, 61.0, 93.0); PackGold(13, 27); AddItem(new Boots()); LeatherArms arms = new LeatherArms(); arms.Movable = true; AddItem(arms); LeatherChest chest = new LeatherChest(); chest.Movable = true; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Movable = true; AddItem(gloves); LeatherGorget gorget = new LeatherGorget(); gorget.Movable = true; AddItem(gorget); LeatherLegs legs = new LeatherLegs(); legs.Movable = true; AddItem(legs); }
public Andric() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Andric"; Title = "the archer trainer"; Race = Race.Human; BodyValue = 0x190; Female = false; Hue = Race.RandomSkinHue(); InitStats(100, 100, 25); Utility.AssignRandomHair(this, true); SetSkill(SkillName.Archery, 60.0, 80.0); AddItem(new Backpack()); Item item; item = new LeatherChest { Hue = 0x1BB }; AddItem(item); item = new LeatherLegs { Hue = 0x6AD }; AddItem(item); item = new LeatherArms { Hue = 0x6AD }; AddItem(item); item = new LeatherGloves { Hue = 0x1BB }; AddItem(item); AddItem(new Boots(0x1BB)); AddItem(new CompositeBow()); }
private void GenerateItems() { List <Item> items = new List <Item>(); /*On ajoute ici les items que l'on veut que le PNJ porte, seule cette section doit être modifiée*/ /*------------------*/ Item it = new ArbaletePistolet(); it.Hue = 1881; items.Add(it); it = new CagouleCuir(); it.Hue = 1904; items.Add(it); it = new FemaleLeatherChest(); it.Hue = 1899; items.Add(it); it = new Cloak(); it.Hue = 1904; items.Add(it); it = new LeatherLegs(); it.Hue = 1904; items.Add(it); it = new FourreauDague(); it.Hue = 0; items.Add(it); it = new LeatherArms(); it.Hue = 2412; items.Add(it); it = new ThighBoots(); it.Hue = 2306; items.Add(it); /*------------------*/ if (items.Count > 0) { for (int i = 0; i < items.Count; ++i) { items[i].Movable = false; items[i].CanBeAltered = false; AddItem(items[i]); } } }
public static Quest TutorialLeatherQuest() { var quest = new Quest() { Name = "This goblin camp may have some useful items that may help you.", Description = "<div class='questColor'>" + "<p>To find them, here are some things that you need to know:</p>" + "<ul><li>Kill <target> - example: kill goblin.</li></ul>" + "<p>After the fight you will want to check the corpse for items:</p>" + "<ul><li>look in <item> - example: look in corpse. To list items on the corpse.</li>" + "<li>get <item> corpse - example: get sword corpse. To get the sword from the corpse.</li></ul>" + "<p>Some items may be inside containers that need opening:</p>" + "<ul><li>open <container> - example: open chest. Will now allow to view items inside the chest when you look in to it.</li></ul>" + "<p>For hidden items you should read the room description carefully and examine objects you see in the description, doing so may reveal a hidden item.</p>" + "<ul><li>examine <keyword> - example: examine desk. May give you a more detailed description of what's on the table that's not shown in the room description.</li></ul>" + "<p>If you need help on commands use the help command to get a list of them. </p>" + "<p>Also you may with to <a href='https://discord.gg/nuf7FVq' target='_blank'>join the discord community</a> and give your feedback. </p>" + "<p>ArchaicQuest is in development and your input and feedback will really help make this game better for everyone.</p>" + "<p>Good luck.</p></div>" , RewardXp = 500, RewardGold = 20, Type = Quest.QuestType.FindItem, QuestItem = new List <Item.Item>() { LeatherHead.LeatherHelmet(), LeatherBody.LeatherVest(), LeatherLegs.LeatherLeggings(), LeatherArms.LeatherSleeves(), LeatherFeet.LeatherBoots(), LeatherHands.LeatherGloves() }, RewardDialog = new DialogTree() { Message = "Well done, a curved dagger appears in your inventory." }, RewardItem = DaggerBasic.BronzeCurvedDagger() }; return(quest); }
public HoneycombProcessingKettleQuestNPC() { Name = "Old Man"; Body = 400; Hue = Utility.RandomSkinHue(); LeatherArms LeatherArms = new LeatherArms(); LeatherArms.Hue = 2418; AddItem(LeatherArms); LeatherGloves LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 2418; AddItem(LeatherGloves); LeatherLegs LeatherLegs = new LeatherLegs(); LeatherLegs.Hue = 2418; AddItem(LeatherLegs); LeatherChest LeatherChest = new LeatherChest(); LeatherChest.Hue = 2418; AddItem(LeatherChest); LeatherGorget LeatherGorget = new LeatherGorget(); LeatherGorget.Hue = 2418; AddItem(LeatherGorget); int hairHue = 2406; switch (Utility.Random(1)) { case 0: AddItem(new PonyTail(hairHue)); break; case 1: AddItem(new Goatee(hairHue)); break; } Blessed = true; }
public MorgBergen() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the Cursed"; Hue = 0x8596; Body = 0x190; AddItem(new ShortPants(0x59C)); Bardiche bardiche = new Bardiche(); LeatherGloves gloves = new LeatherGloves(); LeatherArms arms = new LeatherArms(); bardiche.Hue = 0x96F; gloves.Hue = 0x96F; arms.Hue = 0x96F; AddItem(Immovable(bardiche)); AddItem(Immovable(gloves)); AddItem(Immovable(arms)); SetStr(111, 120); SetDex(111, 120); SetInt(51, 60); SetHits(180, 207); SetMana(0); SetDamage(9, 17); SetSkill(SkillName.Swords, 90.1, 100.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.MagicResist, 80.1, 90.0); SetSkill(SkillName.Anatomy, 90.1, 100.0); Fame = 5000; Karma = -1000; }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Boots(0x1BB)); Item item; item = new LeatherLegs { Hue = 0x6C8 }; AddItem(item); item = new LeatherGloves { Hue = 0x1BB }; AddItem(item); item = new LeatherChest { Hue = 0x1BB }; AddItem(item); item = new LeatherArms { Hue = 0x4C7 }; AddItem(item); item = new CompositeBow { Hue = 0x5DD }; AddItem(item); }
public DummyTheif() : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Hybrid Theif int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(105, 105, 105); this.Skills[SkillName.Healing].Base = 120; this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Stealing].Base = 120; this.Skills[SkillName.ArmsLore].Base = 100; this.Skills[SkillName.Meditation].Base = 120; this.Skills[SkillName.Wrestling].Base = 120; // Name this.Name = "Hybrid Theif"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Newbied; AddItem(snd); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); Robe robe = new Robe(); robe.Hue = iHue; AddItem(robe); Bandage band = new Bandage(50); AddToBackpack(band); }
public DummyAssassin() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Hybrid Assassin int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(105, 105, 105); this.Skills[SkillName.Magery].Base = 120; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Swords].Base = 120; this.Skills[SkillName.Tactics].Base = 120; this.Skills[SkillName.Meditation].Base = 120; this.Skills[SkillName.Poisoning].Base = 100; // Name this.Name = "Hybrid Assassin"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddToBackpack(book); Katana kat = new Katana(); kat.Movable = false; kat.LootType = LootType.Newbied; kat.Crafter = this; kat.Poison = Poison.Deadly; kat.PoisonCharges = 12; kat.Quality = WeaponQuality.Regular; AddToBackpack(kat); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Newbied; AddItem(snd); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); Robe robe = new Robe(); robe.Hue = iHue; AddItem(robe); DeadlyPoisonPotion pota = new DeadlyPoisonPotion(); pota.LootType = LootType.Newbied; AddToBackpack(pota); DeadlyPoisonPotion potb = new DeadlyPoisonPotion(); potb.LootType = LootType.Newbied; AddToBackpack(potb); DeadlyPoisonPotion potc = new DeadlyPoisonPotion(); potc.LootType = LootType.Newbied; AddToBackpack(potc); DeadlyPoisonPotion potd = new DeadlyPoisonPotion(); potd.LootType = LootType.Newbied; AddToBackpack(potd); Bandage band = new Bandage(50); AddToBackpack(band); }
public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Super Mage int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(125, 125, 125); this.Skills[SkillName.Magery].Base = 120; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Wrestling].Base = 120; this.Skills[SkillName.Meditation].Base = 120; this.Skills[SkillName.Poisoning].Base = 100; this.Skills[SkillName.Inscribe].Base = 100; // Name this.Name = "Super Mage"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Newbied; AddItem(snd); JesterHat jhat = new JesterHat(); jhat.Hue = iHue; AddItem(jhat); Doublet dblt = new Doublet(); dblt.Hue = iHue; AddItem(dblt); // Spells AddSpellAttack(typeof(Spells.First.MagicArrowSpell)); AddSpellAttack(typeof(Spells.First.WeakenSpell)); AddSpellAttack(typeof(Spells.Third.FireballSpell)); AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell)); AddSpellDefense(typeof(Spells.First.HealSpell)); }
public DummyStun() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Stun Mage int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(90, 90, 125); this.Skills[SkillName.Magery].Base = 100; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Anatomy].Base = 80; this.Skills[SkillName.Wrestling].Base = 80; this.Skills[SkillName.Meditation].Base = 100; this.Skills[SkillName.Poisoning].Base = 100; // Name this.Name = "Stun Mage"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Boots bts = new Boots(); bts.Hue = iHue; AddItem(bts); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); // Spells AddSpellAttack(typeof(Spells.First.MagicArrowSpell)); AddSpellAttack(typeof(Spells.First.WeakenSpell)); AddSpellAttack(typeof(Spells.Third.FireballSpell)); AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell)); AddSpellDefense(typeof(Spells.First.HealSpell)); }
public DummyHealer() : base(AIType.AI_Healer, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Healer Mage int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(125, 125, 125); this.Skills[SkillName.ArtMagique].Base = 120; //this.Skills[SkillName.EvalInt].Base = 120; //this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Anatomie].Base = 120; this.Skills[SkillName.Concentration].Base = 120; this.Skills[SkillName.Soins].Base = 100; // Name this.Name = "Healer"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Blessed; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Blessed; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Blessed; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Blessed; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Blessed; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Blessed; AddItem(snd); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); Robe robe = new Robe(); robe.Hue = iHue; AddItem(robe); }