Code style changes.
This commit is contained in:
@ -63,7 +63,7 @@ public final class HealPercent extends AbstractEffect
|
||||
|
||||
double amount = 0;
|
||||
final double power = _power;
|
||||
final boolean full = (power == 100.0);
|
||||
final boolean full = power == 100.0;
|
||||
|
||||
amount = full ? target.getMaxHp() : (target.getMaxHp() * power) / 100.0;
|
||||
// Prevents overheal and negative amount
|
||||
|
Reference in New Issue
Block a user