Small fix for ToH instances.
Contributed by CostyKiller.
This commit is contained in:
parent
1acb57e53f
commit
c70ee9f745
@ -44,7 +44,6 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
|||||||
};
|
};
|
||||||
// Throne's Treasure Chest Goldberg
|
// Throne's Treasure Chest Goldberg
|
||||||
private static final int TREASURE_CHEST = 26455;
|
private static final int TREASURE_CHEST = 26455;
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int TEMPLATE_ID = 307;
|
private static final int TEMPLATE_ID = 307;
|
||||||
|
|
||||||
@ -62,7 +61,6 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
|||||||
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
||||||
{
|
{
|
||||||
activeInstance.setStatus(0);
|
activeInstance.setStatus(0);
|
||||||
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -73,6 +71,7 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
|||||||
case "enterInstance":
|
case "enterInstance":
|
||||||
{
|
{
|
||||||
enterInstance(player, npc, TEMPLATE_ID);
|
enterInstance(player, npc, TEMPLATE_ID);
|
||||||
|
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "reenterInstance":
|
case "reenterInstance":
|
||||||
|
@ -30,20 +30,16 @@ import instances.AbstractInstance;
|
|||||||
*/
|
*/
|
||||||
public class ThroneOfHeroesMaryReed extends AbstractInstance
|
public class ThroneOfHeroesMaryReed extends AbstractInstance
|
||||||
{
|
{
|
||||||
|
|
||||||
// NPCs
|
// NPCs
|
||||||
private static final int ROIENTAL = 34571;
|
private static final int ROIENTAL = 34571;
|
||||||
// Monsters
|
// Monsters
|
||||||
private static final int MARY_REED = 26267;
|
private static final int MARY_REED = 26267;
|
||||||
private static final int MARY_REED_MINION_ZAKEN = 26255;
|
private static final int MARY_REED_MINION_ZAKEN = 26255;
|
||||||
|
|
||||||
// Throne's Treasure Chest Mary Reed
|
// Throne's Treasure Chest Mary Reed
|
||||||
private static final int TREASURE_CHEST = 26456;
|
private static final int TREASURE_CHEST = 26456;
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int TEMPLATE_ID = 308;
|
private static final int TEMPLATE_ID = 308;
|
||||||
|
// NPC dialogs
|
||||||
// Npc Dialogs
|
|
||||||
private static final NpcStringId[] ZAKEN_MESSAGES =
|
private static final NpcStringId[] ZAKEN_MESSAGES =
|
||||||
{
|
{
|
||||||
NpcStringId.MARY_REED_THEY_ARE_JUST_INSECTS_HAHA_SHOW_THEM_YOUR_TRUE_POWER,
|
NpcStringId.MARY_REED_THEY_ARE_JUST_INSECTS_HAHA_SHOW_THEM_YOUR_TRUE_POWER,
|
||||||
@ -66,7 +62,6 @@ public class ThroneOfHeroesMaryReed extends AbstractInstance
|
|||||||
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
||||||
{
|
{
|
||||||
activeInstance.setStatus(0);
|
activeInstance.setStatus(0);
|
||||||
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -77,6 +72,7 @@ public class ThroneOfHeroesMaryReed extends AbstractInstance
|
|||||||
case "enterInstance":
|
case "enterInstance":
|
||||||
{
|
{
|
||||||
enterInstance(player, npc, TEMPLATE_ID);
|
enterInstance(player, npc, TEMPLATE_ID);
|
||||||
|
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "reenterInstance":
|
case "reenterInstance":
|
||||||
|
@ -30,19 +30,15 @@ import instances.AbstractInstance;
|
|||||||
*/
|
*/
|
||||||
public class ThroneOfHeroesTauti extends AbstractInstance
|
public class ThroneOfHeroesTauti extends AbstractInstance
|
||||||
{
|
{
|
||||||
|
|
||||||
// NPCs
|
// NPCs
|
||||||
private static final int ROIENTAL = 34571;
|
private static final int ROIENTAL = 34571;
|
||||||
// Monsters
|
// Monsters
|
||||||
private static final int TAUTI = 26266;
|
private static final int TAUTI = 26266;
|
||||||
|
|
||||||
// Throne's Treasure Chest Tauti
|
// Throne's Treasure Chest Tauti
|
||||||
private static final int TREASURE_CHEST = 26457;
|
private static final int TREASURE_CHEST = 26457;
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int TEMPLATE_ID = 309;
|
private static final int TEMPLATE_ID = 309;
|
||||||
|
// NPC dialogs
|
||||||
// Npc Dialogs
|
|
||||||
private static final NpcStringId[] TAUTI_MESSAGES =
|
private static final NpcStringId[] TAUTI_MESSAGES =
|
||||||
{
|
{
|
||||||
NpcStringId.TAUTI_INTENDS_TO_SHOW_OFF_HIS_POWER_TO_HIS_FOLLOWERS,
|
NpcStringId.TAUTI_INTENDS_TO_SHOW_OFF_HIS_POWER_TO_HIS_FOLLOWERS,
|
||||||
@ -63,7 +59,6 @@ public class ThroneOfHeroesTauti extends AbstractInstance
|
|||||||
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
||||||
{
|
{
|
||||||
activeInstance.setStatus(0);
|
activeInstance.setStatus(0);
|
||||||
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -74,6 +69,7 @@ public class ThroneOfHeroesTauti extends AbstractInstance
|
|||||||
case "enterInstance":
|
case "enterInstance":
|
||||||
{
|
{
|
||||||
enterInstance(player, npc, TEMPLATE_ID);
|
enterInstance(player, npc, TEMPLATE_ID);
|
||||||
|
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "reenterInstance":
|
case "reenterInstance":
|
||||||
|
@ -44,7 +44,6 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
|||||||
};
|
};
|
||||||
// Throne's Treasure Chest Goldberg
|
// Throne's Treasure Chest Goldberg
|
||||||
private static final int TREASURE_CHEST = 26455;
|
private static final int TREASURE_CHEST = 26455;
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int TEMPLATE_ID = 307;
|
private static final int TEMPLATE_ID = 307;
|
||||||
|
|
||||||
@ -62,7 +61,6 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
|||||||
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
||||||
{
|
{
|
||||||
activeInstance.setStatus(0);
|
activeInstance.setStatus(0);
|
||||||
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -73,6 +71,7 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
|||||||
case "enterInstance":
|
case "enterInstance":
|
||||||
{
|
{
|
||||||
enterInstance(player, npc, TEMPLATE_ID);
|
enterInstance(player, npc, TEMPLATE_ID);
|
||||||
|
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "reenterInstance":
|
case "reenterInstance":
|
||||||
|
@ -30,20 +30,16 @@ import instances.AbstractInstance;
|
|||||||
*/
|
*/
|
||||||
public class ThroneOfHeroesMaryReed extends AbstractInstance
|
public class ThroneOfHeroesMaryReed extends AbstractInstance
|
||||||
{
|
{
|
||||||
|
|
||||||
// NPCs
|
// NPCs
|
||||||
private static final int ROIENTAL = 34571;
|
private static final int ROIENTAL = 34571;
|
||||||
// Monsters
|
// Monsters
|
||||||
private static final int MARY_REED = 26267;
|
private static final int MARY_REED = 26267;
|
||||||
private static final int MARY_REED_MINION_ZAKEN = 26255;
|
private static final int MARY_REED_MINION_ZAKEN = 26255;
|
||||||
|
|
||||||
// Throne's Treasure Chest Mary Reed
|
// Throne's Treasure Chest Mary Reed
|
||||||
private static final int TREASURE_CHEST = 26456;
|
private static final int TREASURE_CHEST = 26456;
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int TEMPLATE_ID = 308;
|
private static final int TEMPLATE_ID = 308;
|
||||||
|
// NPC dialogs
|
||||||
// Npc Dialogs
|
|
||||||
private static final NpcStringId[] ZAKEN_MESSAGES =
|
private static final NpcStringId[] ZAKEN_MESSAGES =
|
||||||
{
|
{
|
||||||
NpcStringId.MARY_REED_THEY_ARE_JUST_INSECTS_HAHA_SHOW_THEM_YOUR_TRUE_POWER,
|
NpcStringId.MARY_REED_THEY_ARE_JUST_INSECTS_HAHA_SHOW_THEM_YOUR_TRUE_POWER,
|
||||||
@ -66,7 +62,6 @@ public class ThroneOfHeroesMaryReed extends AbstractInstance
|
|||||||
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
||||||
{
|
{
|
||||||
activeInstance.setStatus(0);
|
activeInstance.setStatus(0);
|
||||||
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -77,6 +72,7 @@ public class ThroneOfHeroesMaryReed extends AbstractInstance
|
|||||||
case "enterInstance":
|
case "enterInstance":
|
||||||
{
|
{
|
||||||
enterInstance(player, npc, TEMPLATE_ID);
|
enterInstance(player, npc, TEMPLATE_ID);
|
||||||
|
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "reenterInstance":
|
case "reenterInstance":
|
||||||
|
@ -30,19 +30,15 @@ import instances.AbstractInstance;
|
|||||||
*/
|
*/
|
||||||
public class ThroneOfHeroesTauti extends AbstractInstance
|
public class ThroneOfHeroesTauti extends AbstractInstance
|
||||||
{
|
{
|
||||||
|
|
||||||
// NPCs
|
// NPCs
|
||||||
private static final int ROIENTAL = 34571;
|
private static final int ROIENTAL = 34571;
|
||||||
// Monsters
|
// Monsters
|
||||||
private static final int TAUTI = 26266;
|
private static final int TAUTI = 26266;
|
||||||
|
|
||||||
// Throne's Treasure Chest Tauti
|
// Throne's Treasure Chest Tauti
|
||||||
private static final int TREASURE_CHEST = 26457;
|
private static final int TREASURE_CHEST = 26457;
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int TEMPLATE_ID = 309;
|
private static final int TEMPLATE_ID = 309;
|
||||||
|
// NPC dialogs
|
||||||
// Npc Dialogs
|
|
||||||
private static final NpcStringId[] TAUTI_MESSAGES =
|
private static final NpcStringId[] TAUTI_MESSAGES =
|
||||||
{
|
{
|
||||||
NpcStringId.TAUTI_INTENDS_TO_SHOW_OFF_HIS_POWER_TO_HIS_FOLLOWERS,
|
NpcStringId.TAUTI_INTENDS_TO_SHOW_OFF_HIS_POWER_TO_HIS_FOLLOWERS,
|
||||||
@ -63,7 +59,6 @@ public class ThroneOfHeroesTauti extends AbstractInstance
|
|||||||
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
public void onInstanceCreated(Instance activeInstance, PlayerInstance player)
|
||||||
{
|
{
|
||||||
activeInstance.setStatus(0);
|
activeInstance.setStatus(0);
|
||||||
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -74,6 +69,7 @@ public class ThroneOfHeroesTauti extends AbstractInstance
|
|||||||
case "enterInstance":
|
case "enterInstance":
|
||||||
{
|
{
|
||||||
enterInstance(player, npc, TEMPLATE_ID);
|
enterInstance(player, npc, TEMPLATE_ID);
|
||||||
|
startQuestTimer("ANNOUNCE_RAID_START", 10000, null, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "reenterInstance":
|
case "reenterInstance":
|
||||||
|
Loading…
Reference in New Issue
Block a user