summaryrefslogtreecommitdiff
path: root/npc/015-8
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/015-8
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/015-8')
-rw-r--r--npc/015-8/puzzle.txt4
-rw-r--r--npc/015-8/sealedshrine.txt10
2 files changed, 7 insertions, 7 deletions
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!");
diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt
index 8be41f9e3..d4e41700d 100644
--- a/npc/015-8/sealedshrine.txt
+++ b/npc/015-8/sealedshrine.txt
@@ -424,7 +424,7 @@ OnTouch:
if (@SaggySeal$ != "") {
npctalk3 l("The seal retaliates! It was super effective. You are dead!");
@SaggySeal$="";
- percentheal -100, -100;
+ die();
end;
}
end;
@@ -435,7 +435,7 @@ OnTouch:
if (@SaggySeal$ != "") {
npctalk3 l("The seal retaliates! It was super effective. You are dead!");
@SaggySeal$="";
- percentheal -100, -100;
+ die();
end;
}
end;
@@ -446,7 +446,7 @@ OnTouch:
if (@SaggySeal$ != "") {
npctalk3 l("The seal retaliates! It was super effective. You are dead!");
@SaggySeal$="";
- percentheal -100, -100;
+ die();
end;
}
end;
@@ -586,7 +586,7 @@ function script SaggyShrineStatue {
OnScheduledDeath:
npctalk3 l("Be devoured!");
- percentheal -100, -100;
+ die();
end;
OnInit:
@@ -600,7 +600,7 @@ OnInit:
OnScheduledDeath:
npctalk3 l("Be devoured!");
- percentheal -100, -100;
+ die();
end;
OnInit: