summaryrefslogtreecommitdiff
path: root/npc/006-1/crazyfefe.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-09 22:25:22 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-09 22:25:22 -0300
commit578ca50226089c95ca0b185b227dce29a8586404 (patch)
tree63b7714f56d68363207bad4ff64cb7f3e50ed869 /npc/006-1/crazyfefe.txt
parent2b49f520c487c5c874739cb2071684ea07cc77a8 (diff)
downloadserverdata-578ca50226089c95ca0b185b227dce29a8586404.tar.gz
serverdata-578ca50226089c95ca0b185b227dce29a8586404.tar.bz2
serverdata-578ca50226089c95ca0b185b227dce29a8586404.tar.xz
serverdata-578ca50226089c95ca0b185b227dce29a8586404.zip
Kick dead players from Candor Battle Cave.
Diffstat (limited to 'npc/006-1/crazyfefe.txt')
-rw-r--r--npc/006-1/crazyfefe.txt7
1 files changed, 5 insertions, 2 deletions
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;