Renamed GrandBossTeleporters to ValakasTeleporters.

This commit is contained in:
MobiusDevelopment
2021-09-13 14:59:25 +00:00
parent 71d323480f
commit 57a4d1bdd3
285 changed files with 1653 additions and 1701 deletions

View File

@@ -1,4 +0,0 @@
<html><body>A voice whispers in your ear:<br>
<font color="LEVEL">Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Go to the Lair of Antharas.</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>[Whispering]<br>
<font color="LEVEL">Will you confront Valakas?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Enter the nest</Button></body></html>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Enter the nest</Button></body></html>

View File

@@ -2,7 +2,7 @@
Why are you here? Are you by any chance looking for the Hall of Flames behind me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Tell me more about the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"Tell me about the Amulet of Blessing and Amulet of Rescue."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"I'd like to take a look at Valakas' weapons."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Teleport Cube:<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Leave Valakas's Nest.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Leave Valakas's Nest.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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();
}
}

View File

@@ -1,4 +0,0 @@
<html><body>A voice whispers in your ear:<br>
<font color="LEVEL">Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Go to the Lair of Antharas.</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>[Whispering]<br>
<font color="LEVEL">Will you confront Valakas?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Enter the nest</Button></body></html>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Enter the nest</Button></body></html>

View File

@@ -2,7 +2,7 @@
Why are you here? Are you by any chance looking for the Hall of Flames behind me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Tell me more about the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"Tell me about the Amulet of Blessing and Amulet of Rescue."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"I'd like to take a look at Valakas' weapons."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Teleport Cube:<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Leave Valakas's Nest.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Leave Valakas's Nest.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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();
}
}

View File

@@ -1,4 +0,0 @@
<html><body>A voice whispers in your ear:<br>
<font color="LEVEL">Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Go to the Lair of Antharas.</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>[Whispering]<br>
<font color="LEVEL">Will you confront Valakas?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Enter the nest</Button></body></html>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Enter the nest</Button></body></html>

View File

@@ -2,7 +2,7 @@
Why are you here? Are you by any chance looking for the Hall of Flames behind me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Tell me more about the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"Tell me about the Amulet of Blessing and Amulet of Rescue."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"I'd like to take a look at Valakas' weapons."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Teleport Cube:<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Leave Valakas's Nest.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Leave Valakas's Nest.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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();
}
}

View File

@@ -1,4 +0,0 @@
<html><body>A voice whispers in your ear:<br>
<font color="LEVEL">Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Go to the Lair of Antharas.</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>[Whispering]<br>
<font color="LEVEL">Will you confront Valakas?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Enter the nest</Button></body></html>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Enter the nest</Button></body></html>

View File

@@ -2,7 +2,7 @@
Why are you here? Are you by any chance looking for the Hall of Flames behind me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Tell me more about the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"Tell me about the Amulet of Blessing and Amulet of Rescue."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"I'd like to take a look at Valakas' weapons."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Teleport Cube:<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Leave Valakas's Nest.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Leave Valakas's Nest.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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();
}
}

View File

@@ -1,4 +0,0 @@
<html><body>A voice whispers in your ear:<br>
<font color="LEVEL">Will you confront Antharas, the worshipper of the dark holy place and the creation of Shilen?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Go to the Lair of Antharas.</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Yes."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>[Whispering]<br>
<font color="LEVEL">Will you confront Valakas?</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Enter the nest</Button></body></html>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Enter the nest</Button></body></html>

View File

@@ -2,7 +2,7 @@
Why are you here? Are you by any chance looking for the Hall of Flames behind me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Tell me more about the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"Tell me about the Amulet of Blessing and Amulet of Rescue."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"I want to enter the Hall of Flames."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"I'd like to take a look at Valakas' weapons."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Gatekeeper of the Fire Dragon:<br>
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.<br>
If you made it this far, you should be alright. Remember, if you have a companion, you can open both doors simultaneously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">"Please open the door."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Teleport Cube:<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Leave Valakas's Nest.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ValakasTeleporters">Leave Valakas's Nest.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 100 and 150 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, between 150 and 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Watcher of Valakas Klein:<br>
So far, over 200 people have entered the Hall of Flames. Do you wish to enter?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GrandBossTeleporters 31540">Enter</Button>
</body></html>

View File

@@ -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 <http://www.gnu.org/licenses/>.
*/
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.<br>
* 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();
}
}

View File

@@ -0,0 +1,4 @@
<html><body>Watcher of Valakas Klein:<br>
Until now, less than 50 people have attempted the Hall of Flames. Are you sure you want to enter it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ValakasTeleporters 31540">Enter</Button>
</body></html>

Some files were not shown because too many files have changed in this diff Show More