diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/006-1/crazyfefe.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 405a91ecb..fff57a68e 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -125,18 +125,18 @@ L_CaveLogic: $@FIGHT_CAVE_PLAYER_COUNT = getmapusers("006-1"); 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. + // 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)) + goto L_CleanUp; + // reset timer initnpctimer; end; -// TODO L_NextRound: - // Victory conditions - if ($@FIGHT_CAVE_LEVEL >= 2200 || $@FIGHT_CAVE_PLAYER_COUNT <= 1) - // To enable debug, switch lines - //if ($@FIGHT_CAVE_LEVEL >= 2200) - goto L_CleanUp; - // Prepare next round $@FIGHT_CAVE_LEVEL = $@FIGHT_CAVE_LEVEL + $@FIGHT_CAVE_PLAYER_COUNT + rand(1,3); @@ -145,7 +145,7 @@ L_NextRound: // TODO L_Summon: - .@amount=($@FIGHT_CAVE_LEVEL/rand(3,5)); + .@amount=($@FIGHT_CAVE_LEVEL/rand(4,6)); for (.@i = 0; .@i < .@amount; ++.@i) { .@mid=rand(1,15); .@monsterId=Piou; |