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

XP flytext not showing the multiplied XP correctly #732

Merged

Conversation

madsboddum
Copy link
Member

Relates to GitHub issue #730

The place the multiplier was implemented was very error-prone. Now it's been moved, so it's very difficult to mess that up in the future.

@madsboddum madsboddum self-assigned this Aug 19, 2022
@madsboddum madsboddum added the BUGFIX Fix of a bug (Pull Request) label Aug 19, 2022
@Undercova Undercova linked an issue Aug 19, 2022 that may be closed by this pull request
int newXpTotal = currentXp + xpGained;

playerObject.setExperiencePoints(xpType, newXpTotal);
Log.d("%s gained %d %s XP", creatureObject, xpGained, xpType);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use StandardLog.onPlayerTrace instead (or make a new one for DATA)

@Josh-Larson Josh-Larson merged commit d13e97a into ProjectSWGCore:cu_quality_assurance Aug 20, 2022
@madsboddum madsboddum deleted the Holocore-730 branch April 2, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUGFIX Fix of a bug (Pull Request)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XP flytext not showing the multiplied XP correctly
2 participants