From 5c75bdd070c8b41e1a1104c3ed861578b85456a6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 11:28:43 -0300 Subject: Maximum time limit to Crazyfefe's Cave is 20 minutes. This disregards wave number, but less waves == smaller rewards. --- npc/006-1/crazyfefe.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/006-1') 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 -- cgit v1.2.3-60-g2f50