Updated Throne of Heroes to weekly reset.
Contributed by CostyKiller.
This commit is contained in:
@@ -67,7 +67,7 @@ public class Roiental extends AbstractNpcAI
|
||||
{
|
||||
htmltext = "Roiental-03a.html";
|
||||
}
|
||||
else if (player.getClan().getVariables().hasVariable("TOH_DONE"))
|
||||
else if (player.getClan().getVariables().hasVariable("TOH_GOLDBERG_DONE"))
|
||||
{
|
||||
htmltext = "Roiental-AlreadyDone.html";
|
||||
}
|
||||
@@ -94,7 +94,7 @@ public class Roiental extends AbstractNpcAI
|
||||
{
|
||||
htmltext = "Roiental-03b.html";
|
||||
}
|
||||
else if (player.getClan().getVariables().hasVariable("TOH_DONE"))
|
||||
else if (player.getClan().getVariables().hasVariable("TOH_MARYREED_DONE"))
|
||||
{
|
||||
htmltext = "Roiental-AlreadyDone.html";
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class Roiental extends AbstractNpcAI
|
||||
{
|
||||
htmltext = "Roiental-03c.html";
|
||||
}
|
||||
else if (player.getClan().getVariables().hasVariable("TOH_DONE"))
|
||||
else if (player.getClan().getVariables().hasVariable("TOH_TAUTI_DONE"))
|
||||
{
|
||||
htmltext = "Roiental-AlreadyDone.html";
|
||||
}
|
||||
|
@@ -228,7 +228,7 @@ public class ThroneOfHeroesGoldberg extends AbstractInstance
|
||||
if (!killer.isGM())
|
||||
{
|
||||
// Set clan variable
|
||||
killer.getClan().getVariables().set("TOH_DONE", System.currentTimeMillis());
|
||||
killer.getClan().getVariables().set("TOH_GOLDBERG_DONE", System.currentTimeMillis());
|
||||
killer.getClan().getVariables().storeMe();
|
||||
}
|
||||
}
|
||||
|
@@ -244,7 +244,7 @@ public class ThroneOfHeroesMaryReed extends AbstractInstance
|
||||
if (!killer.isGM())
|
||||
{
|
||||
// Set clan variable
|
||||
killer.getClan().getVariables().set("TOH_DONE", System.currentTimeMillis());
|
||||
killer.getClan().getVariables().set("TOH_MARYREED_DONE", System.currentTimeMillis());
|
||||
killer.getClan().getVariables().storeMe();
|
||||
}
|
||||
}
|
||||
|
@@ -212,7 +212,7 @@ public class ThroneOfHeroesTauti extends AbstractInstance
|
||||
if (!killer.isGM())
|
||||
{
|
||||
// Set clan variable
|
||||
killer.getClan().getVariables().set("TOH_DONE", System.currentTimeMillis());
|
||||
killer.getClan().getVariables().set("TOH_TAUTI_DONE", System.currentTimeMillis());
|
||||
killer.getClan().getVariables().storeMe();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user