L2JMobius

C6 Q625_TheFinestIngredients_Part2 - temp fix

ihearcolors · 2 · 4907

Offline ihearcolors

  • Knight
  • ***
    • Posts: 53
    • L2Interlude
Same as Q604, Q610, Q616.

This:
Code: [Select]
private boolean spawnRaid()
{
final RaidBossInstance raid = RaidBossSpawnManager.getInstance().getBosses().get(ICICLE_EMPEROR_BUMBALUMP);
if ((raid != null) && (raid.getRaidStatus() == RaidBossStatus.ALIVE))
{
// set temporarily spawn location (to provide correct behavior of RaidBossInstance.checkAndReturnToSpawn())
raid.getSpawn().setLoc(157117, -121939, -2397, Rnd.get(65536));

// teleport raid from secret place
raid.teleToLocation(157117, -121939, -2397);
raid.setHeading(100);
raid.broadcastNpcSay("I smell something delicious...");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}

To this:
Code: [Select]
private boolean spawnRaid()
{
final RaidBossInstance raid = RaidBossSpawnManager.getInstance().getBosses().get(ICICLE_EMPEROR_BUMBALUMP);
if ((raid != null) && (raid.getRaidStatus() == RaidBossStatus.ALIVE))
{
// set temporarily spawn location (to provide correct behavior of RaidBossInstance.checkAndReturnToSpawn())
// raid.getSpawn().setLoc(157117, -121939, -2397, Rnd.get(65536));

addSpawn(ICICLE_EMPEROR_BUMBALUMP, 157117, -121939, -2397, 100, false, 0);
raid.broadcastNpcSay("I smell something delicious...");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}