From 16e94127377e2cbc8e37d93d0c885fc211466ce6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 4 Jun 2018 17:12:39 -0300 Subject: Polishing 006-1 scripts, debug mode remains on --- npc/006-1/crazyfefe.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'npc/006-1/crazyfefe.txt') diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index d93a5ab9f..8a2d944f2 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -30,9 +30,9 @@ L_Next: mesq l("Very well, but for a fee of @@ GP. There's no free lunch, after all!", .price); select l("Sorry, I misclicked the first button. Have a nice nap, great Crazyfefe!"), - l("Yeah, I have money to throw away. Give me ##Bfive##b minutes, and Bring it on!"), - l("Yeah, I have money to throw away. Give me ##Bten##b minutes, and Bring it on!"), - l("Yeah, I have money to throw away. Give me ##Bfifteen##b minutes, and Bring it on!"), + l("Yeah, I have the money. Give me FIVE minutes, and Bring it on!"), + l("Yeah, I have the money. Give me TEN minutes, and Bring it on!"), + l("Yeah, I have the money. Give me FIFTEEN minutes, and Bring it on!"), "","", rif(is_gm(), l("I'm GM and got the money. Gimme HALF HOUR to invite everybody!")); @@ -131,11 +131,14 @@ L_CaveLogic: // TODO L_NextRound: - $@FIGHT_CAVE_LEVEL = $@FIGHT_CAVE_LEVEL + $@FIGHT_CAVE_PLAYER_COUNT; - if ($@FIGHT_CAVE_LEVEL >= 2200) + // Victory conditions + if ($@FIGHT_CAVE_LEVEL >= 2200 || $@FIGHT_CAVE_PLAYER_COUNT == 1) goto L_CleanUp; - mapannounce "006-1", "The next round, with level " + $@FIGHT_CAVE_LEVEL + ", is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; + // Prepare next round + $@FIGHT_CAVE_LEVEL = $@FIGHT_CAVE_LEVEL + $@FIGHT_CAVE_PLAYER_COUNT + rand(1,3); + + mapannounce "006-1", "The next round is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; goto L_Summon; // TODO @@ -202,7 +205,7 @@ L_CleanUp: OnReward: if (ispcdead()) end; - // TODO + // TODO: Find a good reward according to level Zeny=Zeny+($@FIGHT_CAVE_LEVEL); getexp $@FIGHT_CAVE_LEVEL, 0; dispbottom l("You've gained @@ GP and EXP", ($@FIGHT_CAVE_LEVEL)); -- cgit v1.2.3-60-g2f50