Minor bypass name change for Trasken teleporters.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
<html><body>Teleport Device:<br>
 | 
			
		||||
Are you sure you want to leave the cave?<br>
 | 
			
		||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trasken exitZone">Yes, teleport me out.</Button>
 | 
			
		||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trasken exitEarthWyrnCave">Yes, teleport me out.</Button>
 | 
			
		||||
</body></html>
 | 
			
		||||
@@ -3,6 +3,6 @@
 | 
			
		||||
Although we are unfortunate to be suffering, do not pity yourself. All is meant. All will be remedied.<br>
 | 
			
		||||
The Goddess of the Earth is always beside you. We must repay her for the kindness she allows us.<br>
 | 
			
		||||
If you want the blessing of goddess to be always with you, remember my words! <font color="LEVEL">"Karna Maphra!"</font><br>
 | 
			
		||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Daichir enterZone">"What of Trasken?"</Button>
 | 
			
		||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Daichir enterEarthWyrnCave">"What of Trasken?"</Button>
 | 
			
		||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
 | 
			
		||||
</body></html>
 | 
			
		||||
@@ -52,7 +52,7 @@ public class Daichir extends AbstractNpcAI
 | 
			
		||||
	@Override
 | 
			
		||||
	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
 | 
			
		||||
	{
 | 
			
		||||
		if (event.equals("enterZone"))
 | 
			
		||||
		if (event.equals("enterEarthWyrnCave"))
 | 
			
		||||
		{
 | 
			
		||||
			final int status = GrandBossManager.getInstance().getBossStatus(TRASKEN);
 | 
			
		||||
			if (player.isGM())
 | 
			
		||||
 
 | 
			
		||||
@@ -579,7 +579,7 @@ public class Trasken extends AbstractNpcAI
 | 
			
		||||
	{
 | 
			
		||||
		switch (event)
 | 
			
		||||
		{
 | 
			
		||||
			case "exitZone":
 | 
			
		||||
			case "exitEarthWyrnCave":
 | 
			
		||||
			{
 | 
			
		||||
				if (npc.getId() == TELEPORT_ORB)
 | 
			
		||||
				{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user