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

Add max health shareable. #423

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

Add max health shareable. #423

wants to merge 1 commit into from

Conversation

benwoo1110
Copy link
Member

While looking into the issue of altered max health causing issues, (#415) I realised we should actually have a max health sharable to better facility the change in max health between worlds.

@benwoo1110 benwoo1110 added PR: Enhancement Pull requests to implement a feature or improvement in code. State: Needs Review By Dev Pull requests requires the approve of lead dev. labels Feb 28, 2021
@benwoo1110
Copy link
Member Author

Test build:
Multiverse-Inventories-4.2.3-SNAPSHOT.zip

/**
* Player max health identifier.
*/
public static final String PLAYER_MAX_HEALTH = "mhp";
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps a slightly more description string? maxHp or something?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea possible, I was just following how the other stats named, such as Total experience being txp. But if you prefer maxHp instead, will change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Enhancement Pull requests to implement a feature or improvement in code. State: Needs Review By Dev Pull requests requires the approve of lead dev.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants