L2JMobius

C6 Q616_MagicalPowerOfFire_Part2 - temp fix

ihearcolors · 2 · 4983

Offline ihearcolors

  • Knight
  • ***
    • Posts: 53
    • L2Interlude
Same as Q604, Q610.
Script error and invuln. boss


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

// teleport raid from secret place
raid.teleToLocation(142624, -82285, -6491);
raid.setHeading(100);

// 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_FIRE_NASTRON);
if ((raid != null) && (raid.getRaidStatus() == RaidBossStatus.ALIVE))
{
// set temporarily spawn location (to provide correct behavior of RaidBossInstance.checkAndReturnToSpawn())
// raid.getSpawn().setLoc(142624, -82285, -6491, Rnd.get(65536));

addSpawn(SOUL_OF_FIRE_NASTRON, 142624, -82285, -6491, 100, false, 0);
raid.broadcastNpcSay("The fire you kindle for your enemy often burns yourself more than them.");

// set raid status
_status = IDLE_INTERVAL;

return true;
}
return false;
}