Added missing final modifiers.

This commit is contained in:
MobiusDev
2015-12-26 12:03:36 +00:00
parent cc92e5d062
commit e0d681a17e
974 changed files with 5919 additions and 5917 deletions

View File

@@ -58,7 +58,7 @@ public final class ManaHealByLevel extends AbstractEffect
@Override
public void onStart(BuffInfo info)
{
L2Character target = info.getEffected();
final L2Character target = info.getEffected();
if ((target == null) || target.isDead() || target.isDoor() || target.isInvul())
{
return;
@@ -71,7 +71,7 @@ public final class ManaHealByLevel extends AbstractEffect
amount = target.calcStat(Stats.MANA_CHARGE, amount, null, null);
if (target.getLevel() > info.getSkill().getMagicLevel())
{
int lvlDiff = target.getLevel() - info.getSkill().getMagicLevel();
final int lvlDiff = target.getLevel() - info.getSkill().getMagicLevel();
// if target is too high compared to skill level, the amount of recharged mp gradually decreases.
if (lvlDiff == 6)
{