From 578ca50226089c95ca0b185b227dce29a8586404 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 9 Jul 2018 22:25:22 -0300 Subject: Kick dead players from Candor Battle Cave. --- npc/006-1/crazyfefe.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'npc/006-1') diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 9d3725378..4b96e3f8b 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -240,10 +240,13 @@ L_CleanUp: -// Rewards surviving players between rounds, according to performance +// Rewards surviving players between rounds, according to performance, and get rid of dead PCs. OnReward: - if (ispcdead()) + if (ispcdead()) { + recovery(); + warp "Save", 0, 0; end; + } // Player reward is a random number based on current wave + lvl/50 (1 point ~= 12~8 mobs) .@prize=rand($@FEFE_WAVE/2,$@FEFE_WAVE) + ($@FEFE_CAVE_LEVEL/50); Zeny=Zeny+.@prize; -- cgit v1.2.3-60-g2f50