summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-04 17:12:39 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-04 17:12:39 -0300
commit16e94127377e2cbc8e37d93d0c885fc211466ce6 (patch)
tree8cef2d4791e116a5f679ffcc544cfda0873a1656 /npc
parent921aa2d79390c188844e761ea03300319037e504 (diff)
downloadserverdata-16e94127377e2cbc8e37d93d0c885fc211466ce6.tar.gz
serverdata-16e94127377e2cbc8e37d93d0c885fc211466ce6.tar.bz2
serverdata-16e94127377e2cbc8e37d93d0c885fc211466ce6.tar.xz
serverdata-16e94127377e2cbc8e37d93d0c885fc211466ce6.zip
Polishing 006-1 scripts, debug mode remains on
Diffstat (limited to 'npc')
-rw-r--r--npc/006-1/crazyfefe.txt17
1 files changed, 10 insertions, 7 deletions
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));