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/023-3-1/logic.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/023-3-1') diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt index 15f1e80de..a4bba6acc 100644 --- a/npc/023-3-1/logic.txt +++ b/npc/023-3-1/logic.txt @@ -16,7 +16,7 @@ OnTouch: // Cheater Detected if (.@n < 15) { warp "Save", 0, 0; - percentheal -100, -100; + die(); end; } if (.@q < 3) { @@ -41,7 +41,7 @@ OnTouch: // Cheater Detected if (.@n < 15) { warp "Save", 0, 0; - percentheal -100, -100; + die(); end; } if (.@n == 15) { @@ -59,7 +59,7 @@ OnTouch: .@q=getq(FrostiaQuest_Homunculus); if (.@q < 2) { dispbottom l("Error, cheater detected"); - percentheal -100, -100; + die(); end; } .@q=getq3(FrostiaQuest_Homunculus); @@ -90,7 +90,7 @@ OnTouch: .@q=getq(FrostiaQuest_Homunculus); if (.@q < 2) { dispbottom l("Error, cheater detected"); - percentheal -100, -100; + die(); end; } .@n$=instance_npcname(.name$); -- cgit v1.2.3-60-g2f50