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

Suggestion: Decimal Hearts! #2

Open
birbkeks opened this issue Feb 22, 2023 · 2 comments
Open

Suggestion: Decimal Hearts! #2

birbkeks opened this issue Feb 22, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@birbkeks
Copy link

It would be nice to have xx.y heart type for mobs, would be really nice for rpg servers!

@DavideBlade DavideBlade self-assigned this Feb 22, 2023
@DavideBlade DavideBlade added the enhancement New feature or request label Feb 22, 2023
@DavideBlade
Copy link
Owner

DavideBlade commented Feb 26, 2023

Update: there is actually already a precision of 0.5 in the plugin, although not shown as a decimal.

The health bars (text format) show the health bar on 20 units instead of 10. What does this mean? That when one player has, for example, 5.5 hearts, another player will read 11 HP in his health bar. In fact, dividing by 2 gives exactly 5.5 (which is what you were asking to be shown).
You can see some example screenshots here.

@KeksToGo is that clear to you? Is there anything else I can do or can I close the issue?

@birbkeks
Copy link
Author

we are talking about different things, i meant for example 20.4 hearts for skeleton etc. but it only shows 20 hearts. and if you damage them for example 6.2, it should show 14.2 hearts but it shows only 14 hearts.

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

No branches or pull requests

2 participants