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/015-8/puzzle.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/015-8/puzzle.txt') diff --git a/npc/015-8/puzzle.txt b/npc/015-8/puzzle.txt index 7417fbe16..a62a56ac5 100644 --- a/npc/015-8/puzzle.txt +++ b/npc/015-8/puzzle.txt @@ -59,7 +59,7 @@ OnTouch: .@ponderate=(readparam2(bStr)+readparam2(bVit))/100*60; if (rand(0,1000) < 640-(.@ponderate*6)) { mesc l("But unfortunately, a loose stone lodges and you fall to your death."), 1; - percentheal -100, -100; + die(); close; } mesc l("You succeed in crossing the chasm!"); @@ -79,7 +79,7 @@ OnTouch: // (You can always fall as top is 600 of 640) if (rand(0,1000) < 640-(readparam2(bAgi)*6)) { mesc l("But unfortunately, it was harder than you thought. You are dead."), 1; - percentheal -100, -100; + die(); close; } mesc l("You succeed in crossing the chasm!"); -- cgit v1.2.3-70-g09d2