summaryrefslogtreecommitdiff
path: root/npc/006-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-05 19:17:32 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-05 19:17:32 -0300
commit69705dc89c0d4d947af8c2cbef6424d511a2bf9d (patch)
tree430abf5cdb2cc86940fbd16faffe432042ef5e4f /npc/006-1
parentfd164e4a484ce94be0a5ca5c469e663a4fe35813 (diff)
downloadserverdata-69705dc89c0d4d947af8c2cbef6424d511a2bf9d.tar.gz
serverdata-69705dc89c0d4d947af8c2cbef6424d511a2bf9d.tar.bz2
serverdata-69705dc89c0d4d947af8c2cbef6424d511a2bf9d.tar.xz
serverdata-69705dc89c0d4d947af8c2cbef6424d511a2bf9d.zip
Report round number to GMs by talking to statue during fight
Diffstat (limited to 'npc/006-1')
-rw-r--r--npc/006-1/crazyfefe.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt
index 7676ae5fd..2bace4757 100644
--- a/npc/006-1/crazyfefe.txt
+++ b/npc/006-1/crazyfefe.txt
@@ -72,6 +72,8 @@ L_StartFight:
L_Enjoy:
npctalk3 l("Pay attention to the fight, @@!", strcharinfo(0));
+ if (is_gm())
+ dispbottom l("Round @@", $@FIGHT_CAVE_LEVEL);
end;
L_NotEnough:
@@ -130,10 +132,11 @@ L_CaveLogic:
if (mobcount("006-1", "Crazyfefe::OnPetDeath") <= 0)
goto L_NextRound;
- // Victory conditions: Either you've reached a maximum level (2200) or too few players alive.
+ // Victory conditions: Either you've reached a maximum level (1800) or too few players alive.
// Number of alive players is randomly proccessed, so the round may end anytime.
- // To enable debug, comment last part of victory condition
- if ($@FIGHT_CAVE_LEVEL >= 2200 || $@FIGHT_CAVE_PLAYER_COUNT <= rand(1,2))
+ // IIRC, dead players still in cave are still counted. TODO, this is a bad place to handle this.
+ // To enable debug, comment last part of victory condition.
+ if ($@FIGHT_CAVE_LEVEL >= 1800 || $@FIGHT_CAVE_PLAYER_COUNT <= rand(1,2))
goto L_CleanUp;
// reset timer
@@ -149,7 +152,7 @@ L_NextRound:
// TODO
L_Summon:
- .@amount=($@FIGHT_CAVE_LEVEL/rand(4,6));
+ .@amount=($@FIGHT_CAVE_LEVEL/rand(4,6)); // 300~450 mobs on last round >.< Uh oh, this is hard indeed! xD
for (.@i = 0; .@i < .@amount; ++.@i) {
.@mid=rand(1,15);
.@monsterId=Piou;