summaryrefslogtreecommitdiff
path: root/npc/042-11/boss.txt
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/042-11/boss.txt
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/042-11/boss.txt')
-rw-r--r--npc/042-11/boss.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/042-11/boss.txt b/npc/042-11/boss.txt
index e5afa07d8..6346693f8 100644
--- a/npc/042-11/boss.txt
+++ b/npc/042-11/boss.txt
@@ -9,7 +9,7 @@
OnTouch:
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
if (!($KAMELOT_QUEST[.@g] & 64)) goto L_NoAccess;
warp "042-10@"+.@g, 143, 21;
end;
@@ -24,7 +24,7 @@ L_NoAccess:
OnTouch:
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
if (!($KAMELOT_QUEST[.@g] & 64)) goto L_NoAccess;
mes l("Are you sure you want leave?");
mesc l("You wont be able to go back!");
@@ -146,7 +146,7 @@ OnTimer5000:
OnKillMob:
// Maybe a reward is due
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
getexp $KAMELOT_MX[.@g]*8, $KAMELOT_MX[.@g]*4; // Lower than previously
end;