From a9f035db691932502f2e61780fc337286833a1c0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 19 Mar 2021 21:17:41 -0300 Subject: Fix all TODOs for the event and broadcast difficulty selection --- npc/029-9/boss.txt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'npc/029-9/boss.txt') diff --git a/npc/029-9/boss.txt b/npc/029-9/boss.txt index cc8aaf564..aacfbedf3 100644 --- a/npc/029-9/boss.txt +++ b/npc/029-9/boss.txt @@ -19,7 +19,7 @@ Level of difficulty setting (100/130/160/190/220) select l("Ignore this book"), l("Begin classic mode"), - rif(is_staff(), l("Skip prologue")); + rif(is_staff() && $FIRESOFSTEAM >= 10, l("Skip prologue")); mes ""; $@FIRESOFSTEAM_BOSS=(@menu-1); if ($@FIRESOFSTEAM_BOSS == 0) close; @@ -28,12 +28,21 @@ Level of difficulty setting (100/130/160/190/220) rif($FIRESOFSTEAM >= 10, l("Crazy Mode")), rif($FIRESOFSTEAM >= 10, l("Cadis Mode")), rif($FIRESOFSTEAM >= 10, l("Crazy Cadis Ultimate Pandorica Mode")), - rif($FIRESOFSTEAM >= 10, l("Portable Apocalypsis")); + rif($FIRESOFSTEAM >= 10, l("Portable Apocalypse")); mes ""; $@FIRESOFSTEAM_DIFF=70+(@menu*30); + switch (@menu) { + case 1: .@d$="##2Easy"; break; + case 2: .@d$="##3Crazy"; break; + case 3: .@d$="##5Cadis"; break; + case 4: .@d$="##6Crazy Cadis Ultimate Pandorica"; break; + case 5: .@d$="##1Portable Apocalypse"; break; + default: .@d$="Unknown"; + } + mapannounce("029-9", "Difficulty Selected: ##B"+.@d$+"##b", 0); closeclientdialog; // Dispose of the GM - //warp "029-8", 175, 80; // TODO FIXME + warp "029-8", 175, 80; sleep(200); // PC no longer attached // Start the event @@ -149,8 +158,6 @@ Level of difficulty setting (100/130/160/190/220) sleep(1000); unittalk($@FOS_ISB, "We will see! Engarde!!"); initnpctimer; - // TODO: Andrei Sakar was ambushed by Valia and Luvia, the Gemini Assassins - // ... end; ////////////// Prologue End ////////////// @@ -305,7 +312,7 @@ OnEventEnd: sleep(3000); mapannounce("029-9", "Moubootaur : ##1##BThe prophecy... LIVES!", 0); sleep(3000); - // TODO Reward cycle + // XXX Reward cycle XXX // This can be slow, beware .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); for (.@i = 0; .@i < .@c; .@i++) { -- cgit v1.2.3-60-g2f50