L2JMobius

C6 Q604_DaimonTheWhiteEyed_Part2 - temp fix

ihearcolors · 2 · 5083

Offline ihearcolors

  • Knight
  • ***
    • Posts: 53
    • L2Interlude
Script Error and Invul. Boss.
Change this:
Code: [Select]
private boolean spawnRaid()
{
final RaidBossInstance raid = RaidBossSpawnManager.getInstance().getBosses().get(DAIMON_THE_WHITE_EYED);
if ((raid != null) && (raid.getRaidStatus() == RaidBossStatus.ALIVE))
{
// set temporarily spawn location (to provide correct behavior of RaidBossInstance.checkAndReturnToSpawn())
raid.getSpawn().setLoc(185900, -44000, -3160, Rnd.get(65536));

// teleport raid from secret place
raid.teleToLocation(185900, -44000, -3160);
raid.setHeading(100);
raid.broadcastNpcSay("Who called me?");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}

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

addSpawn(DAIMON_THE_WHITE_EYED, 185900, -44000, -3160, 100, false, 0);
raid.broadcastNpcSay("Who called me?");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}