L2JMobius

C6 Q610_MagicalPowerOfWater_Part2 - temp fix

ihearcolors · 2 · 5033

Offline ihearcolors

  • Knight
  • ***
    • Posts: 53
    • L2Interlude
Same as Q604
This:
Code: [Select]
private boolean spawnRaid()
{
final RaidBossInstance raid = RaidBossSpawnManager.getInstance().getBosses().get(SOUL_OF_WATER_ASHUTAR);
if ((raid != null) && (raid.getRaidStatus() == RaidBossStatus.ALIVE))
{
// set temporarily spawn location (to provide correct behavior of RaidBossInstance.checkAndReturnToSpawn())
raid.getSpawn().setLoc(104771, -36993, -1149, Rnd.get(65536));

// teleport raid from secret place
raid.teleToLocation(104771, -36993, -1149);
raid.setHeading(100);
raid.broadcastNpcSay("The water charm then is the storm and the tsunami strength! Opposes with it only has the blind alley!");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}

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

addSpawn(SOUL_OF_WATER_ASHUTAR, 104771, -36993, -1149, 100, false, 0);
raid.broadcastNpcSay("You didn’t come into this world. You came out of it, like a wave from the ocean. You are not a stranger here.");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}