diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-25 21:05:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-25 21:05:36 -0300 |
commit | 6946c800abf5e7e1c25197cc0f6fad5d3aa21e20 (patch) | |
tree | 9c658d3411b9eb357c045bedbf3a5fdc4a28e870 /npc | |
parent | 5350111591a65e6b247b052b5c197a6bdcbefb49 (diff) | |
download | serverdata-6946c800abf5e7e1c25197cc0f6fad5d3aa21e20.tar.gz serverdata-6946c800abf5e7e1c25197cc0f6fad5d3aa21e20.tar.bz2 serverdata-6946c800abf5e7e1c25197cc0f6fad5d3aa21e20.tar.xz serverdata-6946c800abf5e7e1c25197cc0f6fad5d3aa21e20.zip |
Candor Battle can now be solo'ed, but it'll be harder =)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/006-1/crazyfefe.txt | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 4006259ce..8c4b2267c 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -122,7 +122,8 @@ function Challenge { if ($EVENT$ != "Candor") { mesn; mesq l("Very well, but for a fee of @@ GP. There's no free lunch, after all!", .price); - mesc l("A minimum of %d players at the time of start is required!", 2), 1; + //mesc l("A minimum of %d players at the time of start is required!", 2), 1; + mesc l("If at any moment in the fight there's less than %d players in the room, a severe penalty will be applied, so watch out!", 3), 1; // Not enough money? We end here. if (Zeny < .price) @@ -206,7 +207,7 @@ function Challenge { } function StartFight { - if (getmapusers("006-1") < 2 && !$@GM_OVERRIDE) { + if (getmapusers("006-1") < 1 && !$@GM_OVERRIDE) { mapannounce("006-1", "Oh noes! There's not enough players. Fight aborted, no refunds!", bc_map); CleanUp(); } @@ -242,7 +243,7 @@ function CaveLogic { // Victory conditions: Too few players are alive OR twenty minutes went on. // WARNING, dead players still in cave are counted, we might never finish the fight. // And a GM might be called to ban everyone inside. - if ($@FEFE_CAVE_PLAYER_COUNT <= 1 && !$@GM_OVERRIDE || gettimetick(2) >= $@FEFE_DELAY - 300) { + if ($@FEFE_CAVE_PLAYER_COUNT < 1 && !$@GM_OVERRIDE || gettimetick(2) >= $@FEFE_DELAY - 300) { CleanUp(); } @@ -251,6 +252,13 @@ function CaveLogic { areatimer "006-1", 20, 20, 70, 60, 10, "Crazyfefe::OnSumLevel"; sleep(15); + // Penalty for being below the player count thresholds + // It merely assumes you *are* within the threshold + if ($@FEFE_CAVE_PLAYER_COUNT < 2) + $@FEFE_DIFFICULTY *= 3; + else if ($@FEFE_CAVE_PLAYER_COUNT < 3) + $@FEFE_DIFFICULTY *= 2; + // New wave condition: All mobs dead, or 90 seconds have passed if (mobcount("006-1", "Crazyfefe::OnPetDeath") <= 0 || .wtime >= 90) NextRound(); |