From 1387e8cf16c842c5f600d6a3f23ae0e5ae72e976 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 16 Nov 2019 20:04:06 +0000 Subject: [PATCH] Fixed Tower of Naia controler. --- .../ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm | 2 +- .../ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm | 2 +- .../areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java | 8 -------- .../ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm | 2 +- .../ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm | 2 +- .../areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java | 8 -------- 6 files changed, 4 insertions(+), 20 deletions(-) diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm index 0173cb47ee..0498d41f45 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm @@ -1,4 +1,4 @@ Control Device:
It looks like a very complicated and elaborate machine, but you see no moving parts. Perhaps it is broken.
(Time is needed to reactivate it. Please wait a moment.) - + \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm index eca87a16c2..f1990a9625 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm @@ -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.
(Only one party can enter at a time.)
Enter the Tower of Naia. - + \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java index 9ebaa95045..e38bef8f2f 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java @@ -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)); } diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm index 0173cb47ee..0498d41f45 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-02.htm @@ -1,4 +1,4 @@ Control Device:
It looks like a very complicated and elaborate machine, but you see no moving parts. Perhaps it is broken.
(Time is needed to reactivate it. Please wait a moment.) - + \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm index eca87a16c2..f1990a9625 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/18492-05.htm @@ -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.
(Only one party can enter at a time.)
Enter the Tower of Naia. - + \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java index 9ebaa95045..e38bef8f2f 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/Hellbound/AI/Zones/TowerOfNaia/TowerOfNaia.java @@ -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)); }