Added missing final modifiers.
This commit is contained in:
@@ -57,8 +57,8 @@ public final class CpHealPercent extends AbstractEffect
|
||||
}
|
||||
|
||||
double amount = 0;
|
||||
double power = _power;
|
||||
boolean full = (power == 100.0);
|
||||
final double power = _power;
|
||||
final boolean full = (power == 100.0);
|
||||
|
||||
amount = full ? target.getMaxCp() : (target.getMaxCp() * power) / 100.0;
|
||||
// Prevents overheal and negative amount
|
||||
|
Reference in New Issue
Block a user