diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-13 00:57:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-13 00:57:23 -0300 |
commit | eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9 (patch) | |
tree | bd7cc4caca79d1663f3c4f1088e203bb87706a53 /npc/042-8/ctrl.txt | |
parent | 2c73977e32827d85b99a62fcf2d4663278da74a1 (diff) | |
download | serverdata-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-8/ctrl.txt')
-rw-r--r-- | npc/042-8/ctrl.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/042-8/ctrl.txt b/npc/042-8/ctrl.txt index e85ade249..fd46570ea 100644 --- a/npc/042-8/ctrl.txt +++ b/npc/042-8/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] & 2) goto L_NoAccess; warp "042-5@"+.@g, 44, 21; end; |