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

Function call to GetPlayerChampionXP needs class #8

Open
4bitfocus opened this issue Aug 3, 2016 · 1 comment
Open

Function call to GetPlayerChampionXP needs class #8

4bitfocus opened this issue Aug 3, 2016 · 1 comment
Labels

Comments

@4bitfocus
Copy link
Owner

See SlightlyImprovedExperienceBar.lua:222. The function call to GetPlayerChampionXP does not have an owning object (or whatever its called). The new line should be:

SIEB.championLabel:SetText(SIEB.FormatLabelText(SIEB.GetPlayerChampionXP(), SIEB.GetPlayerChampionXPMax()))

@4bitfocus 4bitfocus added the bug label Aug 3, 2016
@4bitfocus
Copy link
Owner Author

Actually, I think its that the function SIEB.GetPlayerChampionXPMax() does not exist. I think this can be replaced with SIEB.GetPlayerXPMax(). The new line would then be:

SIEB.championLabel:SetText(SIEB.FormatLabelText(SIEB.GetPlayerXP(), SIEB.GetPlayerXPMax()))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant