diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-13 01:05:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-13 01:05:53 -0300 |
commit | e16ec68c6b8ee77a53fe24ce74cd3dee281b0cca (patch) | |
tree | bd82d56c6f792cbf961fbc370efb27362fd178a6 /npc/functions/main.txt | |
parent | eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9 (diff) | |
download | serverdata-e16ec68c6b8ee77a53fe24ce74cd3dee281b0cca.tar.gz serverdata-e16ec68c6b8ee77a53fe24ce74cd3dee281b0cca.tar.bz2 serverdata-e16ec68c6b8ee77a53fe24ce74cd3dee281b0cca.tar.xz serverdata-e16ec68c6b8ee77a53fe24ce74cd3dee281b0cca.zip |
Rewrite how death will be handled on Hardcore.
Instead, it'll set a variable called grace, and this variable will exempt you.
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 9bb9caa44..282da5cde 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -296,9 +296,11 @@ function script any_of { function script die { if ($HARDCORE) { - setparam(Hp, 1); - warp "000-1", 22, 22; - end; // MUST be end; to mimic official behavior + @grace=true; + percentheal -100, -100; + //setparam(Hp, 1); + //warp "000-1", 22, 22; + //end; // MUST be end; to mimic official behavior } else { percentheal -100, -100; } |