Fixed Tower of Naia controler.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<html><body>Control Device:<br>
|
<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>
|
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.)
|
(Time is needed to reactivate it. Please wait a moment.)
|
||||||
</body></html>
|
</body></html>
|
@@ -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>
|
It appears as though you may now enter the Tower of Naia.<br>
|
||||||
(Only one party can enter at a time.)<br>
|
(Only one party can enter at a time.)<br>
|
||||||
<a action="bypass -h Quest TowerOfNaia teleport">Enter the Tower of Naia.</a>
|
<a action="bypass -h Quest TowerOfNaia teleport">Enter the Tower of Naia.</a>
|
||||||
</body></html>
|
</body></html>
|
@@ -391,7 +391,6 @@ public class TowerOfNaia extends AbstractNpcAI
|
|||||||
}
|
}
|
||||||
return "18492-01.htm";
|
return "18492-01.htm";
|
||||||
}
|
}
|
||||||
|
|
||||||
else if ((npcId >= ROOM_MANAGER_FIRST) && (npcId <= ROOM_MANAGER_LAST))
|
else if ((npcId >= ROOM_MANAGER_FIRST) && (npcId <= ROOM_MANAGER_LAST))
|
||||||
{
|
{
|
||||||
if (_activeRooms.containsKey(npcId) && !_activeRooms.get(npcId))
|
if (_activeRooms.containsKey(npcId) && !_activeRooms.get(npcId))
|
||||||
@@ -500,13 +499,6 @@ public class TowerOfNaia extends AbstractNpcAI
|
|||||||
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
|
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
|
||||||
{
|
{
|
||||||
htmltext = null;
|
htmltext = null;
|
||||||
if (_lock != null)
|
|
||||||
{
|
|
||||||
_lock.deleteMe();
|
|
||||||
_lock = null;
|
|
||||||
}
|
|
||||||
cancelQuestTimers("spawn_lock");
|
|
||||||
startQuestTimer("spawn_lock", 300000, null, null);
|
|
||||||
npc.setTarget(player);
|
npc.setTarget(player);
|
||||||
npc.doCast(SkillData.getInstance().getSkill(5527, 1));
|
npc.doCast(SkillData.getInstance().getSkill(5527, 1));
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<html><body>Control Device:<br>
|
<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>
|
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.)
|
(Time is needed to reactivate it. Please wait a moment.)
|
||||||
</body></html>
|
</body></html>
|
@@ -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>
|
It appears as though you may now enter the Tower of Naia.<br>
|
||||||
(Only one party can enter at a time.)<br>
|
(Only one party can enter at a time.)<br>
|
||||||
<a action="bypass -h Quest TowerOfNaia teleport">Enter the Tower of Naia.</a>
|
<a action="bypass -h Quest TowerOfNaia teleport">Enter the Tower of Naia.</a>
|
||||||
</body></html>
|
</body></html>
|
@@ -391,7 +391,6 @@ public class TowerOfNaia extends AbstractNpcAI
|
|||||||
}
|
}
|
||||||
return "18492-01.htm";
|
return "18492-01.htm";
|
||||||
}
|
}
|
||||||
|
|
||||||
else if ((npcId >= ROOM_MANAGER_FIRST) && (npcId <= ROOM_MANAGER_LAST))
|
else if ((npcId >= ROOM_MANAGER_FIRST) && (npcId <= ROOM_MANAGER_LAST))
|
||||||
{
|
{
|
||||||
if (_activeRooms.containsKey(npcId) && !_activeRooms.get(npcId))
|
if (_activeRooms.containsKey(npcId) && !_activeRooms.get(npcId))
|
||||||
@@ -500,13 +499,6 @@ public class TowerOfNaia extends AbstractNpcAI
|
|||||||
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
|
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
|
||||||
{
|
{
|
||||||
htmltext = null;
|
htmltext = null;
|
||||||
if (_lock != null)
|
|
||||||
{
|
|
||||||
_lock.deleteMe();
|
|
||||||
_lock = null;
|
|
||||||
}
|
|
||||||
cancelQuestTimers("spawn_lock");
|
|
||||||
startQuestTimer("spawn_lock", 300000, null, null);
|
|
||||||
npc.setTarget(player);
|
npc.setTarget(player);
|
||||||
npc.doCast(SkillData.getInstance().getSkill(5527, 1));
|
npc.doCast(SkillData.getInstance().getSkill(5527, 1));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user