mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Damage should probably actually be fatal I would think.
This commit is contained in:
parent
02a064ffc6
commit
de3b2b8024
@ -151,7 +151,7 @@ public class AcrobaticsManager extends SkillManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean isFatal(double damage) {
|
private boolean isFatal(double damage) {
|
||||||
return getPlayer().getHealth() - damage < 1;
|
return getPlayer().getHealth() - damage <= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private float calculateRollXP(double damage, boolean isRoll) {
|
private float calculateRollXP(double damage, boolean isRoll) {
|
||||||
|
Loading…
Reference in New Issue
Block a user