From eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 May 2020 00:57:23 -0300 Subject: Replace our script-induced deaths with new, custom, die() command This will fix one of the HardCore Server bugs. --- npc/042-1/door.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/042-1/door.txt') diff --git a/npc/042-1/door.txt b/npc/042-1/door.txt index 8177d9015..cc3d13fd6 100644 --- a/npc/042-1/door.txt +++ b/npc/042-1/door.txt @@ -65,7 +65,7 @@ OnKillMob: // For example, if you're lame cheater .@g=getcharid(2); if (.@g < 1) - percentheal -100, -100; + die(); // I also want to give you exp getexp $KAMELOT_MX[.@g]*3, $KAMELOT_MX[.@g]; @@ -178,7 +178,7 @@ OnTimer10000: OnArrival: .@g=getcharid(2); if (.@g < 1) - percentheal -100, -100; + die(); if (getmap() != "042-1@"+.@g) end; if ($@KAMELOT_WAVE[.@g] == 0) -- cgit v1.2.3-60-g2f50