Prevent Tauti spawn after re-entering the boss zone.
Contributed by Sero.
This commit is contained in:
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
@@ -104,7 +104,10 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
for (PlayerInstance member : world.getPlayers())
|
for (PlayerInstance member : world.getPlayers())
|
||||||
{
|
{
|
||||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||||
break;
|
break;
|
||||||
@@ -117,8 +120,11 @@ public class TautiWarzone extends AbstractInstance
|
|||||||
case "SPAWN_TAUTI":
|
case "SPAWN_TAUTI":
|
||||||
{
|
{
|
||||||
final Instance world = npc.getInstanceWorld();
|
final Instance world = npc.getInstanceWorld();
|
||||||
|
if (world.getAliveNpcs(TAUTI_EXTREME).isEmpty() && world.getAliveNpcs(TAUTI_EXTREME_AXE).isEmpty())
|
||||||
|
{
|
||||||
|
world.spawnGroup("boss");
|
||||||
|
}
|
||||||
world.openCloseDoor(DOOR_1, true);
|
world.openCloseDoor(DOOR_1, true);
|
||||||
world.spawnGroup("boss");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "SPAWN_AXE":
|
case "SPAWN_AXE":
|
||||||
|
Reference in New Issue
Block a user