From 57a4d1bdd3dce2544befff1edad8d8c1522dd847 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 13 Sep 2021 14:59:25 +0000 Subject: [PATCH] Renamed GrandBossTeleporters to ValakasTeleporters. --- .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../others/ValakasTeleporters}/31540-01.htm | 2 +- .../31540-02.htm | 2 +- .../others/ValakasTeleporters}/31540-03.htm | 2 +- .../others/ValakasTeleporters}/31540-04.htm | 2 +- .../others/ValakasTeleporters}/31540-05.htm | 2 +- .../31540-06.htm | 0 .../ValakasTeleporters.java} | 8 +- .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../others/ValakasTeleporters}/31540-01.htm | 2 +- .../others/ValakasTeleporters}/31540-02.htm | 2 +- .../others/ValakasTeleporters}/31540-03.htm | 2 +- .../others/ValakasTeleporters}/31540-04.htm | 2 +- .../31540-05.htm | 2 +- .../31540-06.htm | 0 .../ValakasTeleporters.java} | 8 +- .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java} | 8 +- .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-03.htm | 4 - .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java} | 8 +- .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../31540-01.htm | 2 +- .../31540-02.htm | 2 +- .../31540-03.htm | 2 +- .../31540-04.htm | 2 +- .../31540-05.htm | 2 +- .../31540-06.htm | 0 .../ValakasTeleporters.java} | 8 +- .../dist/game/data/html/default/13001.htm | 4 - .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../31540-01.htm | 2 +- .../31540-02.htm | 2 +- .../31540-03.htm | 2 +- .../31540-04.htm | 2 +- .../31540-05.htm | 2 +- .../31540-06.htm | 0 .../ValakasTeleporters.java} | 8 +- .../dist/game/data/html/default/31384.htm | 2 +- .../dist/game/data/html/default/31385.htm | 2 +- .../dist/game/data/html/default/31540.htm | 2 +- .../dist/game/data/html/default/31686.htm | 2 +- .../dist/game/data/html/default/31687.htm | 2 +- .../dist/game/data/html/default/31759.htm | 2 +- .../others/GrandBossTeleporters/31540-01.htm | 4 - .../others/GrandBossTeleporters/31540-02.htm | 4 - .../others/GrandBossTeleporters/31540-03.htm | 4 - .../others/GrandBossTeleporters/31540-04.htm | 4 - .../others/GrandBossTeleporters/31540-05.htm | 4 - .../GrandBossTeleporters.java | 193 ------------------ .../31385-01.htm | 0 .../31385-02.htm | 0 .../31385-03.htm | 0 .../31385-04.htm | 0 .../ai/others/ValakasTeleporters/31540-01.htm | 4 + .../ai/others/ValakasTeleporters/31540-02.htm | 4 + .../ai/others/ValakasTeleporters/31540-03.htm | 4 + .../ai/others/ValakasTeleporters/31540-04.htm | 4 + .../ai/others/ValakasTeleporters/31540-05.htm | 4 + .../31540-06.htm | 0 .../ValakasTeleporters.java | 193 ++++++++++++++++++ 285 files changed, 1653 insertions(+), 1701 deletions(-) delete mode 100644 L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) rename {L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-01.htm (61%) rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-02.htm (59%) rename {L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-03.htm (60%) rename {L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-04.htm (60%) rename {L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-05.htm (58%) rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) rename L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/{GrandBossTeleporters/GrandBossTeleporters.java => ValakasTeleporters/ValakasTeleporters.java} (93%) delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) rename {L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-01.htm (61%) rename {L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-02.htm (59%) rename {L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-03.htm (60%) rename {L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters => L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters}/31540-04.htm (60%) rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-05.htm (58%) rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) rename L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/{GrandBossTeleporters/GrandBossTeleporters.java => ValakasTeleporters/ValakasTeleporters.java} (93%) delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm rename L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) rename L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/{GrandBossTeleporters/GrandBossTeleporters.java => ValakasTeleporters/ValakasTeleporters.java} (93%) delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm rename L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) rename L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/{GrandBossTeleporters/GrandBossTeleporters.java => ValakasTeleporters/ValakasTeleporters.java} (93%) delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/13001.htm delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java delete mode 100644 L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/13001.htm rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-01.htm (70%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-02.htm (68%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-03.htm (68%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-04.htm (68%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-05.htm (67%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) rename L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/{GrandBossTeleporters/GrandBossTeleporters.java => ValakasTeleporters/ValakasTeleporters.java} (93%) delete mode 100644 L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/13001.htm rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-01.htm (70%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-02.htm (68%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-03.htm (68%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-04.htm (68%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-05.htm (67%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) rename L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/{GrandBossTeleporters/GrandBossTeleporters.java => ValakasTeleporters/ValakasTeleporters.java} (93%) delete mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm delete mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm delete mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm delete mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm delete mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm delete mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-01.htm (100%) rename L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-02.htm (100%) rename L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-03.htm (100%) rename L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31385-04.htm (100%) create mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm create mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm create mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm create mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm create mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm rename L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/{GrandBossTeleporters => ValakasTeleporters}/31540-06.htm (100%) create mode 100644 L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/13001.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31384.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31385.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31540.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31686.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31687.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31759.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm similarity index 61% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm index de87a99186..0a2c4d42cb 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm similarity index 59% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm index 2db520e5a6..468579a008 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm similarity index 60% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm index ecc77aa98a..233e707968 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm similarity index 60% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm index 62b45226ce..c91f77e5c7 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm similarity index 58% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm index 88ec475199..fbe6f5cbe5 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java similarity index 93% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename to L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java index c81c3236f9..d2f7776aa1 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ai.others.GrandBossTeleporters; +package ai.others.ValakasTeleporters; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.DoorData; @@ -35,7 +35,7 @@ import ai.bosses.Valakas.Valakas; * Original python script by Emperorc. * @author Plim */ -public class GrandBossTeleporters extends AbstractNpcAI +public class ValakasTeleporters extends AbstractNpcAI { // NPCs private static final int[] NPCs = @@ -55,7 +55,7 @@ public class GrandBossTeleporters extends AbstractNpcAI private static int playerCount = 0; - private GrandBossTeleporters() + private ValakasTeleporters() { addStartNpc(NPCs); addTalkId(NPCs); @@ -188,6 +188,6 @@ public class GrandBossTeleporters extends AbstractNpcAI public static void main(String[] args) { - new GrandBossTeleporters(); + new ValakasTeleporters(); } } diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/13001.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31384.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31385.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31540.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31686.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31687.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31759.htm b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm similarity index 61% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm index de87a99186..0a2c4d42cb 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm similarity index 59% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm index 2db520e5a6..468579a008 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm similarity index 60% rename from L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm index ecc77aa98a..233e707968 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm similarity index 60% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm index 62b45226ce..c91f77e5c7 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm similarity index 58% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm index 88ec475199..fbe6f5cbe5 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java similarity index 93% rename from L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename to L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java index c81c3236f9..d2f7776aa1 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ai.others.GrandBossTeleporters; +package ai.others.ValakasTeleporters; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.DoorData; @@ -35,7 +35,7 @@ import ai.bosses.Valakas.Valakas; * Original python script by Emperorc. * @author Plim */ -public class GrandBossTeleporters extends AbstractNpcAI +public class ValakasTeleporters extends AbstractNpcAI { // NPCs private static final int[] NPCs = @@ -55,7 +55,7 @@ public class GrandBossTeleporters extends AbstractNpcAI private static int playerCount = 0; - private GrandBossTeleporters() + private ValakasTeleporters() { addStartNpc(NPCs); addTalkId(NPCs); @@ -188,6 +188,6 @@ public class GrandBossTeleporters extends AbstractNpcAI public static void main(String[] args) { - new GrandBossTeleporters(); + new ValakasTeleporters(); } } diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/13001.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31384.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31385.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31540.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31686.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31687.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31759.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java similarity index 93% rename from L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename to L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java index c81c3236f9..d2f7776aa1 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ai.others.GrandBossTeleporters; +package ai.others.ValakasTeleporters; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.DoorData; @@ -35,7 +35,7 @@ import ai.bosses.Valakas.Valakas; * Original python script by Emperorc. * @author Plim */ -public class GrandBossTeleporters extends AbstractNpcAI +public class ValakasTeleporters extends AbstractNpcAI { // NPCs private static final int[] NPCs = @@ -55,7 +55,7 @@ public class GrandBossTeleporters extends AbstractNpcAI private static int playerCount = 0; - private GrandBossTeleporters() + private ValakasTeleporters() { addStartNpc(NPCs); addTalkId(NPCs); @@ -188,6 +188,6 @@ public class GrandBossTeleporters extends AbstractNpcAI public static void main(String[] args) { - new GrandBossTeleporters(); + new ValakasTeleporters(); } } diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/13001.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31384.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31385.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31540.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31686.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31687.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31759.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java similarity index 93% rename from L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename to L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java index c81c3236f9..d2f7776aa1 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ai.others.GrandBossTeleporters; +package ai.others.ValakasTeleporters; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.DoorData; @@ -35,7 +35,7 @@ import ai.bosses.Valakas.Valakas; * Original python script by Emperorc. * @author Plim */ -public class GrandBossTeleporters extends AbstractNpcAI +public class ValakasTeleporters extends AbstractNpcAI { // NPCs private static final int[] NPCs = @@ -55,7 +55,7 @@ public class GrandBossTeleporters extends AbstractNpcAI private static int playerCount = 0; - private GrandBossTeleporters() + private ValakasTeleporters() { addStartNpc(NPCs); addTalkId(NPCs); @@ -188,6 +188,6 @@ public class GrandBossTeleporters extends AbstractNpcAI public static void main(String[] args) { - new GrandBossTeleporters(); + new ValakasTeleporters(); } } diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/13001.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31384.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31385.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31540.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31686.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31687.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31759.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/13001.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31384.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31385.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31540.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31686.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31687.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31759.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/13001.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31384.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31385.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31540.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31686.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31687.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31759.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/13001.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31384.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31385.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31540.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31686.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31687.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31759.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +} diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/13001.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31384.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31385.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31540.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31686.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31687.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31759.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +} diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/13001.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/13001.htm deleted file mode 100644 index 565e60ec12..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
- - \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31384.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31385.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31540.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31540.htm index b1b87dadb1..b976993b14 100644 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31540.htm @@ -2,7 +2,7 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31686.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31686.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31687.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31759.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_9.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +} diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/13001.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/13001.htm deleted file mode 100644 index 3b6edb27a7..0000000000 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
-Go to the Lair of Antharas. - \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31384.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31384.htm index df584c61dc..4de22322ce 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
-"Yes."
+"Yes."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31385.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31385.htm index cf5b3df64e..5aa2b2e990 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
-Enter the nest \ No newline at end of file +Enter the nest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31540.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31540.htm index 6655717819..ac2ab1611c 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31540.htm @@ -2,6 +2,6 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
"Tell me more about the Hall of Flames."
"Tell me about the Amulet of Blessing and Amulet of Rescue."
-"I want to enter the Hall of Flames."
+"I want to enter the Hall of Flames."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31686.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31686.htm index 70fc9b6639..1b978f2768 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
-"Please open the door."
+"Please open the door."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31687.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31687.htm index 70fc9b6639..1b978f2768 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
-"Please open the door."
+"Please open the door."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31759.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31759.htm index 7169bd2640..5186254f53 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

-Leave Valakas's Nest. +Leave Valakas's Nest. \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm similarity index 70% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm index e57ccdd88a..4fc3c08248 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm similarity index 68% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm index 20f33f6482..21b645e6f0 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm similarity index 68% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm index f1e738aad6..f9b5527fb1 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm similarity index 68% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm index cbbb3ad7a7..4af37942ae 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm similarity index 67% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm index e7418709d3..75d6811a0c 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java similarity index 93% rename from L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename to L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java index bfc281ce0f..2c5773cf55 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ai.others.GrandBossTeleporters; +package ai.others.ValakasTeleporters; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.DoorData; @@ -36,7 +36,7 @@ import ai.bosses.Valakas.Valakas; * Original python script by Emperorc. * @author Plim */ -public class GrandBossTeleporters extends AbstractNpcAI +public class ValakasTeleporters extends AbstractNpcAI { // NPCs private static final int[] NPCs = @@ -56,7 +56,7 @@ public class GrandBossTeleporters extends AbstractNpcAI private static int playerCount = 0; - private GrandBossTeleporters() + private ValakasTeleporters() { addStartNpc(NPCs); addTalkId(NPCs); @@ -192,6 +192,6 @@ public class GrandBossTeleporters extends AbstractNpcAI public static void main(String[] args) { - new GrandBossTeleporters(); + new ValakasTeleporters(); } } diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/13001.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/13001.htm deleted file mode 100644 index 3b6edb27a7..0000000000 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/13001.htm +++ /dev/null @@ -1,4 +0,0 @@ -A voice whispers in your ear:
-Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?
-Go to the Lair of Antharas. - \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31384.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31384.htm index df584c61dc..4de22322ce 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
-"Yes."
+"Yes."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31385.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31385.htm index cf5b3df64e..5aa2b2e990 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
-Enter the nest \ No newline at end of file +Enter the nest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31540.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31540.htm index 6655717819..ac2ab1611c 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31540.htm @@ -2,6 +2,6 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
"Tell me more about the Hall of Flames."
"Tell me about the Amulet of Blessing and Amulet of Rescue."
-"I want to enter the Hall of Flames."
+"I want to enter the Hall of Flames."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31686.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31686.htm index 70fc9b6639..1b978f2768 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
-"Please open the door."
+"Please open the door."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31687.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31687.htm index 70fc9b6639..1b978f2768 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
-"Please open the door."
+"Please open the door."
Quest \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31759.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31759.htm index 7169bd2640..5186254f53 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

-Leave Valakas's Nest. +Leave Valakas's Nest. \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm similarity index 70% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm index e57ccdd88a..4fc3c08248 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm similarity index 68% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm index 20f33f6482..21b645e6f0 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm similarity index 68% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm index f1e738aad6..f9b5527fb1 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm similarity index 68% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm index cbbb3ad7a7..4af37942ae 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm similarity index 67% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm index e7418709d3..75d6811a0c 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -1,4 +1,4 @@ Watcher of Valakas Klein:
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
-Enter +Enter \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java similarity index 93% rename from L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java rename to L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java index bfc281ce0f..2c5773cf55 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ai.others.GrandBossTeleporters; +package ai.others.ValakasTeleporters; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.DoorData; @@ -36,7 +36,7 @@ import ai.bosses.Valakas.Valakas; * Original python script by Emperorc. * @author Plim */ -public class GrandBossTeleporters extends AbstractNpcAI +public class ValakasTeleporters extends AbstractNpcAI { // NPCs private static final int[] NPCs = @@ -56,7 +56,7 @@ public class GrandBossTeleporters extends AbstractNpcAI private static int playerCount = 0; - private GrandBossTeleporters() + private ValakasTeleporters() { addStartNpc(NPCs); addTalkId(NPCs); @@ -192,6 +192,6 @@ public class GrandBossTeleporters extends AbstractNpcAI public static void main(String[] args) { - new GrandBossTeleporters(); + new ValakasTeleporters(); } } diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31384.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31384.htm index 42fe1ec186..199df00c4c 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31384.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31384.htm @@ -1,5 +1,5 @@ Gatekeeper of the Fire Dragon:
Good job finding this road! It may be rough, but you'll reach your destination much sooner. Do you wish to enter this door behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31385.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31385.htm index 47bb8b7c42..7eecdd2eaf 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31385.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31385.htm @@ -1,3 +1,3 @@ [Whispering]
Will you confront Valakas?
- \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31540.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31540.htm index 8f78e013cf..516ab31144 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31540.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31540.htm @@ -2,6 +2,6 @@ Why are you here? Are you by any chance looking for the Hall of Flames behind me?
- + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31686.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31686.htm index 9160053318..25b8a54cae 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31686.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31686.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31687.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31687.htm index f04a05dded..9f3959f7e0 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31687.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31687.htm @@ -1,6 +1,6 @@ Gatekeeper of the Fire Dragon:
Congratulations on making it this far! I'm sorry, but this door can only be opened by the gatekeeper of the fire dragon on the other side of the crossroads you just passed. The door I control is behind him.
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.
- + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31759.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31759.htm index 37c140d1fa..ac7477280f 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31759.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/default/31759.htm @@ -1,3 +1,3 @@ Teleport Cube:

- + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm deleted file mode 100644 index de87a99186..0000000000 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
- - \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm deleted file mode 100644 index 2db520e5a6..0000000000 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm deleted file mode 100644 index ecc77aa98a..0000000000 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm deleted file mode 100644 index 62b45226ce..0000000000 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm deleted file mode 100644 index 88ec475199..0000000000 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Watcher of Valakas Klein:
-So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
- - \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java deleted file mode 100644 index c81c3236f9..0000000000 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/GrandBossTeleporters.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.others.GrandBossTeleporters; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.data.xml.DoorData; -import org.l2jmobius.gameserver.instancemanager.GrandBossManager; -import org.l2jmobius.gameserver.instancemanager.QuestManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; -import ai.bosses.Valakas.Valakas; - -/** - * Grand Bosses teleport AI.
- * Original python script by Emperorc. - * @author Plim - */ -public class GrandBossTeleporters extends AbstractNpcAI -{ - // NPCs - private static final int[] NPCs = - { - 31384, // Gatekeeper of Fire Dragon : Opening some doors - 31385, // Heart of Volcano : Teleport into Lair of Valakas - 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames - 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano - 31759, // Teleportation Cubic : Teleport out of Lair of Valakas - }; - // Items - private static final int VACUALITE_FLOATING_STONE = 7267; - private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); - private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); - private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); - - private static int playerCount = 0; - - private GrandBossTeleporters() - { - addStartNpc(NPCs); - addTalkId(NPCs); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, false); - if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) - { - player.teleToLocation(ENTER_HALL_OF_FLAMES); - qs.set("allowEnter", "1"); - } - else - { - htmltext = "31540-06.htm"; - } - return htmltext; - } - - @Override - public String onTalk(Npc npc, PlayerInstance player) - { - String htmltext = ""; - final QuestState qs = getQuestState(player, true); - - switch (npc.getId()) - { - case 31385: - { - if (valakasAI() != null) - { - final int status = GrandBossManager.getInstance().getBossStatus(29028); - if ((status == 0) || (status == 1)) - { - if (playerCount >= 200) - { - htmltext = "31385-03.htm"; - } - else if (qs.getInt("allowEnter") == 1) - { - qs.unset("allowEnter"); - player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); - playerCount++; - - if (status == 0) - { - final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); - valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); - GrandBossManager.getInstance().setBossStatus(29028, 1); - } - } - else - { - htmltext = "31385-04.htm"; - } - } - else if (status == 2) - { - htmltext = "31385-02.htm"; - } - else - { - htmltext = "31385-01.htm"; - } - } - else - { - htmltext = "31385-01.htm"; - } - break; - } - case 31384: - { - DoorData.getInstance().getDoor(24210004).openMe(); - DoorData.getInstance().getDoor(25140004).openMe(); // new? - break; - } - case 31686: - { - DoorData.getInstance().getDoor(24210005).openMe(); - DoorData.getInstance().getDoor(25140005).openMe(); // new? - break; - } - case 31687: - { - DoorData.getInstance().getDoor(24210006).openMe(); - DoorData.getInstance().getDoor(25140006).openMe(); // new? - break; - } - case 31540: - { - if (playerCount < 50) - { - htmltext = "31540-01.htm"; - } - else if (playerCount < 100) - { - htmltext = "31540-02.htm"; - } - else if (playerCount < 150) - { - htmltext = "31540-03.htm"; - } - else if (playerCount < 200) - { - htmltext = "31540-04.htm"; - } - else - { - htmltext = "31540-05.htm"; - } - break; - } - case 31759: - { - player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); - break; - } - } - return htmltext; - } - - private Quest valakasAI() - { - return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); - } - - public static void main(String[] args) - { - new GrandBossTeleporters(); - } -} diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm similarity index 100% rename from L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-01.htm rename to L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-01.htm diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm similarity index 100% rename from L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-02.htm rename to L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-02.htm diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm similarity index 100% rename from L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-03.htm rename to L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-03.htm diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm similarity index 100% rename from L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31385-04.htm rename to L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31385-04.htm diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm new file mode 100644 index 0000000000..0a2c4d42cb --- /dev/null +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-01.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm new file mode 100644 index 0000000000..468579a008 --- /dev/null +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-02.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm new file mode 100644 index 0000000000..233e707968 --- /dev/null +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-03.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm new file mode 100644 index 0000000000..c91f77e5c7 --- /dev/null +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-04.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm new file mode 100644 index 0000000000..fbe6f5cbe5 --- /dev/null +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-05.htm @@ -0,0 +1,4 @@ +Watcher of Valakas Klein:
+So far, over 200 people have entered the Hall of Flames. Do you wish to enter?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm similarity index 100% rename from L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/GrandBossTeleporters/31540-06.htm rename to L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/31540-06.htm diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java new file mode 100644 index 0000000000..d2f7776aa1 --- /dev/null +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/ai/others/ValakasTeleporters/ValakasTeleporters.java @@ -0,0 +1,193 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.others.ValakasTeleporters; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.data.xml.DoorData; +import org.l2jmobius.gameserver.instancemanager.GrandBossManager; +import org.l2jmobius.gameserver.instancemanager.QuestManager; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; + +import ai.AbstractNpcAI; +import ai.bosses.Valakas.Valakas; + +/** + * Grand Bosses teleport AI.
+ * Original python script by Emperorc. + * @author Plim + */ +public class ValakasTeleporters extends AbstractNpcAI +{ + // NPCs + private static final int[] NPCs = + { + 31384, // Gatekeeper of Fire Dragon : Opening some doors + 31385, // Heart of Volcano : Teleport into Lair of Valakas + 31540, // Watcher of Valakas Klein : Teleport into Hall of Flames + 31686, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31687, // Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano + 31759, // Teleportation Cubic : Teleport out of Lair of Valakas + }; + // Items + private static final int VACUALITE_FLOATING_STONE = 7267; + private static final Location ENTER_HALL_OF_FLAMES = new Location(183813, -115157, -3303); + private static final Location TELEPORT_INTO_VALAKAS_LAIR = new Location(204328, -111874, 70); + private static final Location TELEPORT_OUT_OF_VALAKAS_LAIR = new Location(150037, -57720, -2976); + + private static int playerCount = 0; + + private ValakasTeleporters() + { + addStartNpc(NPCs); + addTalkId(NPCs); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, false); + if (hasQuestItems(player, VACUALITE_FLOATING_STONE)) + { + player.teleToLocation(ENTER_HALL_OF_FLAMES); + qs.set("allowEnter", "1"); + } + else + { + htmltext = "31540-06.htm"; + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = ""; + final QuestState qs = getQuestState(player, true); + + switch (npc.getId()) + { + case 31385: + { + if (valakasAI() != null) + { + final int status = GrandBossManager.getInstance().getBossStatus(29028); + if ((status == 0) || (status == 1)) + { + if (playerCount >= 200) + { + htmltext = "31385-03.htm"; + } + else if (qs.getInt("allowEnter") == 1) + { + qs.unset("allowEnter"); + player.teleToLocation(TELEPORT_INTO_VALAKAS_LAIR.getX() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getY() + getRandom(600), TELEPORT_INTO_VALAKAS_LAIR.getZ()); + playerCount++; + + if (status == 0) + { + final GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); + valakasAI().startQuestTimer("beginning", Config.VALAKAS_WAIT_TIME * 60000, valakas, null); + GrandBossManager.getInstance().setBossStatus(29028, 1); + } + } + else + { + htmltext = "31385-04.htm"; + } + } + else if (status == 2) + { + htmltext = "31385-02.htm"; + } + else + { + htmltext = "31385-01.htm"; + } + } + else + { + htmltext = "31385-01.htm"; + } + break; + } + case 31384: + { + DoorData.getInstance().getDoor(24210004).openMe(); + DoorData.getInstance().getDoor(25140004).openMe(); // new? + break; + } + case 31686: + { + DoorData.getInstance().getDoor(24210005).openMe(); + DoorData.getInstance().getDoor(25140005).openMe(); // new? + break; + } + case 31687: + { + DoorData.getInstance().getDoor(24210006).openMe(); + DoorData.getInstance().getDoor(25140006).openMe(); // new? + break; + } + case 31540: + { + if (playerCount < 50) + { + htmltext = "31540-01.htm"; + } + else if (playerCount < 100) + { + htmltext = "31540-02.htm"; + } + else if (playerCount < 150) + { + htmltext = "31540-03.htm"; + } + else if (playerCount < 200) + { + htmltext = "31540-04.htm"; + } + else + { + htmltext = "31540-05.htm"; + } + break; + } + case 31759: + { + player.teleToLocation(TELEPORT_OUT_OF_VALAKAS_LAIR.getX() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getY() + getRandom(500), TELEPORT_OUT_OF_VALAKAS_LAIR.getZ()); + break; + } + } + return htmltext; + } + + private Quest valakasAI() + { + return QuestManager.getInstance().getQuest(Valakas.class.getSimpleName()); + } + + public static void main(String[] args) + { + new ValakasTeleporters(); + } +}