private void handleHellmans(L2RaidBossInstance boss, int mode) { switch (mode) { case 0: boss.deleteMe(); _log.info("DayNightSpawnManager: Deleting Hellman raidboss"); break; case 1: boss.spawnMe(); _log.info("DayNightSpawnManager: Spawning Hellman raidboss"); break; } }
private void handleHellmans(L2RaidBossInstance boss, int mode) { switch (mode) { case 0: boss.deleteMe(); _log.info(getClass().getSimpleName() + ": Deleting Hellman raidboss"); break; case 1: if (!boss.isVisible()) { boss.spawnMe(); } _log.info(getClass().getSimpleName() + ": Spawning Hellman raidboss"); break; } }