-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Total info showing incorrect XP #46
Comments
output:
|
Yeah it would appear that |
you're doing good as far as spotting errors go. I look forward to seeing your pull requests come through just make sure you're doing them and working from the correct branch. |
I think that adding 'total' to the skills list is the better option here, it prevents the need to use workaround '.splits' and should also ensure it's included in tests, the tests would have picked up that the total XP was a string. As 'total' shows alongside all other skills on the OSRS hiscores and also has the same attributes (level, rank, xp) adding it as a skill keeps it consistent. Are you against this approach @Coffee-fueled-deadlines ? I will submit a draft PR with my proposed changes. |
If 'total' was added as a skill it would have been evaluated within pytest and pytest would have failed, although this is mute as adding 'total' to the skill list actually fixes the issue anyway. If you really do not want 'total' added to the skill list, I can raise a PR to add the '.split' and also the below command to pytest which would have caught the issue.
|
#53 raised which I believe is the best way to fix this. |
I'm not necessarily against it by any means. I believe my logic when I set it up was separating it out since it didn't quite "fit". Yet that was quite awhile ago. Let me look through your PRs |
I will raise a PR to fix this. Total is showing 160973243\n224935 for XP instead of just 160973243
The text was updated successfully, but these errors were encountered: