Code style changes.

This commit is contained in:
MobiusDev
2016-04-26 19:21:19 +00:00
parent 6a13705766
commit fc070c9238
768 changed files with 3338 additions and 4252 deletions

View File

@@ -56,7 +56,7 @@ public final class CpHealPercent extends AbstractEffect
double amount = 0;
final double power = _power;
final boolean full = (power == 100.0);
final boolean full = power == 100.0;
amount = full ? target.getMaxCp() : (target.getMaxCp() * power) / 100.0;
// Prevents overheal and negative amount