diff options
Diffstat (limited to 'npc/029-9')
-rw-r--r-- | npc/029-9/boss.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/029-9/boss.txt b/npc/029-9/boss.txt index aacfbedf3..882d6a184 100644 --- a/npc/029-9/boss.txt +++ b/npc/029-9/boss.txt @@ -349,6 +349,8 @@ OnEventEnd: setnpcdisplay("Andrei Sakar#FoS298", "Elora#FoS298", NPC_HUMAN_FEMALE_NOOB); disablenpc "Elora"; } + $@FIRESOFSTEAM_BOSS=0; + $@FIRESOFSTEAM_DIFF=0; end; ////////////// Map Broadcast ////////////// @@ -383,8 +385,16 @@ OnMFShake: closeclientdialog; end; +OnMFDispose: + if (ispcdead() && getq(General_Narrator) >= 20) warp("025-2", 100, 27); + end; + ////////////// Heartbeat ////////////// OnTimer15000: + maptimer2("029-9", 10, "Book#FoS::OnMFDispose"); + sleep(30); + if (getmapusers("029-9")) goto L_Defeat; + // Main cycle if ($@FIRESOFSTEAM_BOSS == 1) { monster("029-9", 102, 47, "Assassin", Assassin, 1); } else if ($@FIRESOFSTEAM_BOSS == 2) { @@ -491,6 +501,22 @@ OnTimer15000: initnpctimer; end; +// Defeat +L_Defeat: + $@FIRESOFSTEAM_BOSS=0; + $@FIRESOFSTEAM_DIFF=0; + $@FOS_ISB=0; + $@FOS_MOB=0; + $@FOS_AND=0; + .Support1=0; + .Support2=0; + .Support3=0; + .Support4=0; + .Support5=0; + killmonsterall("029-9"); + kamibroadcast("The players were defeated at Fires of Steam Showdown.", "Fires of Steam"); + end; + OnInit: .firstime = 18000; .boostime = 900000; |