summaryrefslogtreecommitdiff
path: root/npc/042-6
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-6')
-rw-r--r--npc/042-6/ctrl.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/042-6/ctrl.txt b/npc/042-6/ctrl.txt
index 694ea77b3..5ae91ade2 100644
--- a/npc/042-6/ctrl.txt
+++ b/npc/042-6/ctrl.txt
@@ -64,7 +64,7 @@ OnKillBoss:
goto OnRespawn;
// Maybe a reward is due
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
getitem GuildCoin, 2+min(13, $KAMELOT_MX[.@g]/10);
getexp $KAMELOT_MX[.@g]*14, $KAMELOT_MX[.@g]*8;
mapannounce getmap(), strcharinfo(0)+" has defeated the boss!", 0;
@@ -76,7 +76,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]*4;
.@delay=max(7000, 42000-$KAMELOT_PC[.@g]*2000);
// FALLTHROUGH
@@ -103,7 +103,7 @@ OnRespawn:
OnTouch:
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
if ($KAMELOT_KEYMASK[.@g] & 8) goto L_NoAccess;
warp "042-5@"+.@g, 58, 53;
end;