summaryrefslogtreecommitdiff
path: root/npc/042-0
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-0
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-0')
-rw-r--r--npc/042-0/arthur.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt
index 136be86b8..e0576053f 100644
--- a/npc/042-0/arthur.txt
+++ b/npc/042-0/arthur.txt
@@ -111,7 +111,7 @@ OnPreSmash:
end;
OnSmash:
- percentheal -100, -100;
+ die();
end;
//////////////////////////////////////////////////////////////////////////
@@ -215,7 +215,7 @@ L_DoReward2:
OnKillMob:
if (!playerattached()) end;
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
getexp $KAMELOT_MX[.@g], $KAMELOT_MX[.@g]/2+1;
end;
@@ -227,7 +227,7 @@ function arthurSpawn {
.@y1=getarg(2);
.@y2=getarg(4);
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
.@avg=$KAMELOT_MX[.@g];
.@m$=getmap();
for (.@i=0; .@i < .@gcount; .@i++) {
@@ -437,7 +437,7 @@ L_Hint:
OnKillMob:
if (!playerattached()) end;
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
getexp $KAMELOT_MX[.@g]*2, $KAMELOT_MX[.@g];
end;
@@ -445,7 +445,7 @@ function guinevereSpawn {
.@label$=instance_npcname(.name$)+"::OnKillMob";
.@gcount=getarg(0);
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
.@avg=$KAMELOT_MX[.@g];
.@m$=getmap();
for (.@i=0; .@i < .@gcount; .@i++) {