Fixed Tower of Naia controler.

This commit is contained in:
MobiusDevelopment 2019-11-16 20:04:06 +00:00
parent 1d586ce078
commit 1387e8cf16
6 changed files with 4 additions and 20 deletions

View File

@ -391,7 +391,6 @@ public class TowerOfNaia extends AbstractNpcAI
}
return "18492-01.htm";
}
else if ((npcId >= ROOM_MANAGER_FIRST) && (npcId <= ROOM_MANAGER_LAST))
{
if (_activeRooms.containsKey(npcId) && !_activeRooms.get(npcId))
@ -500,13 +499,6 @@ public class TowerOfNaia extends AbstractNpcAI
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
{
htmltext = null;
if (_lock != null)
{
_lock.deleteMe();
_lock = null;
}
cancelQuestTimers("spawn_lock");
startQuestTimer("spawn_lock", 300000, null, null);
npc.setTarget(player);
npc.doCast(SkillData.getInstance().getSkill(5527, 1));
}

View File

@ -391,7 +391,6 @@ public class TowerOfNaia extends AbstractNpcAI
}
return "18492-01.htm";
}
else if ((npcId >= ROOM_MANAGER_FIRST) && (npcId <= ROOM_MANAGER_LAST))
{
if (_activeRooms.containsKey(npcId) && !_activeRooms.get(npcId))
@ -500,13 +499,6 @@ public class TowerOfNaia extends AbstractNpcAI
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
{
htmltext = null;
if (_lock != null)
{
_lock.deleteMe();
_lock = null;
}
cancelQuestTimers("spawn_lock");
startQuestTimer("spawn_lock", 300000, null, null);
npc.setTarget(player);
npc.doCast(SkillData.getInstance().getSkill(5527, 1));
}