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

@ -75,9 +75,9 @@ public final class Epidos extends AbstractNpcAI
{
if ((getRandom(1000) > 250) && _lastHp.containsKey(npc.getObjectId()))
{
int hpDecreasePercent = (int) (((_lastHp.get(npc.getObjectId()) - npc.getCurrentHp()) * 100) / npc.getMaxHp());
final int hpDecreasePercent = (int) (((_lastHp.get(npc.getObjectId()) - npc.getCurrentHp()) * 100) / npc.getMaxHp());
int minionsCount = 0;
int spawnedMinions = ((L2MonsterInstance) npc).getMinionList().countSpawnedMinions();
final int spawnedMinions = ((L2MonsterInstance) npc).getMinionList().countSpawnedMinions();
if ((hpDecreasePercent > 5) && (hpDecreasePercent <= 15) && (spawnedMinions <= 9))
{