private IEnumerable <Skill> GetSkillsForSkillingGroup(SkillingGroup group) { if (group == SkillingGroup.Artisan) { return(new[] { Skill.Cooking, Skill.Construction, Skill.Crafting, Skill.Firemaking, Skill.Fletching, Skill.Herblore, Skill.Runecrafting, Skill.Smithing }); } if (group == SkillingGroup.Combat) { return(new[] { Skill.Attack, Skill.Strength, Skill.Defense, Skill.Ranged, Skill.Prayer, Skill.Magic, Skill.Consitution, Skill.Summoning }); } if (group == SkillingGroup.Gathering) { return(new[] { Skill.Mining, Skill.Fishing, Skill.Woodcutting, Skill.Farming, Skill.Hunter, Skill.Divination }); } if (group == SkillingGroup.Support) { return(new[] { Skill.Agility, Skill.Thieving, Skill.Slayer, Skill.Dungeoneering, Skill.Invention }); } throw new Exception($"No skills defined for skilling group {group}"); }
private IEnumerable <string> GetPerksForSkillingGroup(SkillingGroup group) { if (group == SkillingGroup.Support) { return(new[] { "No XP penalty for dying in Dungeoneering", "More loot and chance of getting totems whilst safecracking", "All Slayer tasks act as if you have VIP tickets" }); } if (group == SkillingGroup.Combat) { return(new[] { "+1 to all charm drops", "Decreased cost of instances", "1 auto resurrection to full health per run in Elite Dungeons" }); } if (group == SkillingGroup.Gathering) { return(new[] { "10% chance not to deplete Uncharted Isles resources", "Training hotspots in Hall of Memories don’t move as often", "10% more beans from selling items in the Player Owned Farm" }); } if (group == SkillingGroup.Artisan) { return(new[] { "Reduced chance of burning food", "2.5% chance to save a secondary when making potions", "Increases node spawn and double rewards in the RuneSpan" }); } throw new Exception($"No perks defined for skilling group {group}"); }