summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-13 00:57:23 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-13 00:57:23 -0300
commiteca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9 (patch)
treebd7cc4caca79d1663f3c4f1088e203bb87706a53 /npc/functions/hub.txt
parent2c73977e32827d85b99a62fcf2d4663278da74a1 (diff)
downloadserverdata-eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9.tar.gz
serverdata-eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9.tar.bz2
serverdata-eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9.tar.xz
serverdata-eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9.zip
Replace our script-induced deaths with new, custom, die() command
This will fix one of the HardCore Server bugs.
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index cdaf28ab8..8328b8b77 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -41,9 +41,9 @@ function script HUB_Logout {
donpcevent("Cindy#Outside::OnReckless");
recovery(getcharid(3));
warp any("010-1", "010-2"), 0, 0;
- percentheal -100, -100;
sc_start2 SC_POISON, 1, 90, 10000;
- heal -1, -1;
+ die();
+ if (!$HARDCORE) heal -1, -1;
} else if (.@mapa$ == "021-4") {
.@pl = getmapusers("021-4")-1;
if (.@pl < 1)