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

@ -1,4 +1,4 @@
<html><body>Control Device:<br>
It looks like a very complicated and elaborate machine, but you see no moving parts. Perhaps it is broken.<br>
(Time is needed to reactivate it. Please wait a moment.)
</body></html>
</body></html>

View File

@ -3,4 +3,4 @@ With a loud noise, a series of bright green lights emanate from the image repres
It appears as though you may now enter the Tower of Naia.<br>
(Only one party can enter at a time.)<br>
<a action="bypass -h Quest TowerOfNaia teleport">Enter the Tower of Naia.</a>
</body></html>
</body></html>

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

@ -1,4 +1,4 @@
<html><body>Control Device:<br>
It looks like a very complicated and elaborate machine, but you see no moving parts. Perhaps it is broken.<br>
(Time is needed to reactivate it. Please wait a moment.)
</body></html>
</body></html>

View File

@ -3,4 +3,4 @@ With a loud noise, a series of bright green lights emanate from the image repres
It appears as though you may now enter the Tower of Naia.<br>
(Only one party can enter at a time.)<br>
<a action="bypass -h Quest TowerOfNaia teleport">Enter the Tower of Naia.</a>
</body></html>
</body></html>

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));
}