summaryrefslogtreecommitdiff
path: root/npc/042-5
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-5')
-rw-r--r--npc/042-5/ctrl.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt
index e36eeb5ce..074df1a82 100644
--- a/npc/042-5/ctrl.txt
+++ b/npc/042-5/ctrl.txt
@@ -45,7 +45,7 @@ OnKillMob:
goto OnRespawn;
// Maybe a reward is due
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
getexp $KAMELOT_MX[.@g]*7, $KAMELOT_MX[.@g]*3;
.@delay=max(7000, 42000-$KAMELOT_PC[.@g]*2000);
// FALLTHROUGH
@@ -115,7 +115,7 @@ function monster0425 {
function script KamelotTreasure {
.@id=getarg(0);
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
if ($KAMELOT_KEYMASK[.@g] & .@id) {
mesc l("The chest is unlocked and empty.");
close;