L2JMobius

The Source of Flame helios

exce · 20 · 1181

Offline exce

  • Knight
  • ***
    • Posts: 54
My Helios boss script is absolutely different. I can't check

payed version?


Online gigilo1968

  • Black Sheep
  • Elder
  • ****
    • Posts: 188
    • Hi5
payed version?

No. I wrote it myself with the flying Kamaels and many more


Offline exce

  • Knight
  • ***
    • Posts: 54

Offline exce

  • Knight
  • ***
    • Posts: 54
My Helios boss script is absolutely different. I can't check

case "beginning":
_bossInstance = addSpawn(HELIOS1, HELIOS_SPAWN_LOC.getX(), HELIOS_SPAWN_LOC.getY(), HELIOS_SPAWN_LOC.getZ(), HELIOS_SPAWN_LOC.getHeading(), false, 0, false);

and when kill HELIOS1
_bossInstance.deleteMe(); <--- not work
_bossZone.getPlayersInside().forEach(player -> playMovie(player, Movie.SC_HELIOS_TRANS_A));

When I die to him and come back helios 1 and 2 are gone. so i tried _bossInstance.broadcastInfo(); and it keeps there. no changes.

deleteMe() are working but the boss don't go out.


Offline exce

  • Knight
  • ***
    • Posts: 54
Code: [Select]
case HELIOS1:
{
_bossInstance.decayMe();
_bossZone.getPlayersInside().forEach(player -> playMovie(player, Movie.SC_HELIOS_TRANS_A));
startQuestTimer("stage2", 15000, null, null);
break;
}
case HELIOS2:
{
_bossInstance.decayMe();
if (_leopold != null)
{
_leopold.deleteMe();
}
_bossZone.getPlayersInside().forEach(player -> playMovie(player, Movie.SC_HELIOS_TRANS_B));
startQuestTimer("stage3", 15000, null, null);
break;
}

used decayMe() and worked.