summaryrefslogtreecommitdiff
path: root/npc/006-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 11:28:43 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 11:28:43 -0300
commit5c75bdd070c8b41e1a1104c3ed861578b85456a6 (patch)
tree3f61d79f9c981d834950522eec3cb7a0f633a974 /npc/006-1
parent9304068d65be2c011a2ceb2bbf3805b613dbacc3 (diff)
downloadserverdata-5c75bdd070c8b41e1a1104c3ed861578b85456a6.tar.gz
serverdata-5c75bdd070c8b41e1a1104c3ed861578b85456a6.tar.bz2
serverdata-5c75bdd070c8b41e1a1104c3ed861578b85456a6.tar.xz
serverdata-5c75bdd070c8b41e1a1104c3ed861578b85456a6.zip
Maximum time limit to Crazyfefe's Cave is 20 minutes.
This disregards wave number, but less waves == smaller rewards.
Diffstat (limited to 'npc/006-1')
-rw-r--r--npc/006-1/crazyfefe.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt
index 0d30c730e..0a95d21e1 100644
--- a/npc/006-1/crazyfefe.txt
+++ b/npc/006-1/crazyfefe.txt
@@ -113,7 +113,7 @@ L_Explain:
mesq l("For short, they had a fight with curses, and now there's a talking statue over his grave which can spawn monsters here.");
next;
mesn;
- mesq l("If you pay the fee, I'll spawn them. You should not fight alone, instead, you need a group of at least three, because, you know, the curse. Or something.");
+ mesq l("If you pay the fee, I'll spawn them, for no longer than 20 minutes. You should not fight alone, instead, you need a group of at least three, because, you know, the curse. Or something.");
next;
menu
l("I need to think about this."), L_Exit,
@@ -134,11 +134,11 @@ L_CaveLogic:
if (mobcount("006-1", "Crazyfefe::OnPetDeath") <= 0)
goto L_NextRound;
- // Victory conditions: Too few players are alive.
+ // Victory conditions: Too few players are alive OR twenty minutes went on.
// WARNING, of dead players still in cave are counted, we might never finish the fight.
// And a GM might be called to ban everyone inside.
// To enable debug, comment last part of victory condition.
- if ($@FEFE_CAVE_PLAYER_COUNT <= rand(1,2))
+ if ($@FEFE_CAVE_PLAYER_COUNT <= rand(1,2) || gettimetick(2) >= $@FEFE_DELAY - (60*40))
goto L_CleanUp;
// reset timer