spawnByGroup("soi_hoi_defence_mob_6");
spawnByGroup("soi_hoi_defence_tumors");
spawnByGroup("soi_hoi_defence_wards");
getDoor(14240102).openMe();
preawakenedEchmus = addSpawnWithoutRespawn(29161, new Location(-179534, 208510, -15496, 16342), 0);
coffinSpawnTask = ThreadPoolManager.getInstance().scheduleAtFixedRate(new RunnableImpl(){
@Override
public void runImpl() throws Exception
{
if(!conquestEnded)
for(NpcInstance npc : getAllByNpcId(DeadTumor, true))
spawnCoffin(npc);
}
}, 1000L, 60000L);
aliveTumorSpawnTask = ThreadPoolManager.getInstance().schedule(new RunnableImpl(){
@Override
public void runImpl() throws Exception
{
if(!conquestEnded)
{
despawnByGroup("soi_hoi_defence_tumors");
spawnByGroup("soi_hoi_defence_alivetumors");
handleTumorHp(0.5);
for(Player p : getPlayers())
p.sendPacket(new ExShowScreenMessage(NpcString.THE_TUMOR_INSIDE_S1_HAS_COMPLETELY_REVIVED__, 8000, ExShowScreenMessage.ScreenMessageAlign.MIDDLE_CENTER, false, 1, -1, false, "#" + NpcString.HEART_OF_IMMORTALITY.getId()));
invokeDeathListener();
}
}
}, tumorRespawnTime);
wagonSpawnTask = ThreadPoolManager.getInstance().scheduleAtFixedRate(new RunnableImpl(){
@Override
public void runImpl() throws Exception
{
addSpawnWithoutRespawn(SoulWagon, new Location(-179544, 207400, -15496), 0);
}