Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected RuneMetrics profile skills #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Chad414
Copy link

@Chad414 Chad414 commented Feb 27, 2021

Bug Description

RuneMetrics profile is utilizing the default skill tree of Hiscores. The RuneMetrics API response does not include "overall" skill in in the same branch while Hiscores does. The "overall" skill gets mapped regardless, causing all skills to be offset in the RuneMetrics profile.

Other Solutions

  • Define new types for RuneMetrics skill tree that exclude "overall" skill as it's already part of the RuneMetrics profile
  • Pass "overall" skill data into RuneMetrics skill formatting function and unshift with missing "overall" skill information

Offset skill ID's by one as "Overall" is not provided by RuneMetrics in ProfileSkills.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants