Added missing final modifiers.
This commit is contained in:
@ -49,10 +49,10 @@ public final class FocusMaxEnergy extends AbstractEffect
|
||||
final Skill sonicMastery = info.getEffected().getSkills().get(992);
|
||||
final Skill focusMastery = info.getEffected().getSkills().get(993);
|
||||
final Skill maximumForceMastery = info.getEffected().getSkills().get(10301);
|
||||
int maxCharge = (sonicMastery != null) ? sonicMastery.getLevel() : (focusMastery != null) ? focusMastery.getLevel() : (maximumForceMastery != null) ? 15 : 0;
|
||||
final int maxCharge = (sonicMastery != null) ? sonicMastery.getLevel() : (focusMastery != null) ? focusMastery.getLevel() : (maximumForceMastery != null) ? 15 : 0;
|
||||
if (maxCharge != 0)
|
||||
{
|
||||
int count = maxCharge - info.getEffected().getActingPlayer().getCharges();
|
||||
final int count = maxCharge - info.getEffected().getActingPlayer().getCharges();
|
||||
info.getEffected().getActingPlayer().increaseCharges(count, maxCharge);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user