diff options
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index d072ff60..4a0c9c22 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -294,12 +294,12 @@ function script any_of { function script die { if ($HARDCORE) { @grace=true; - percentheal -100, -100; + addtimer 10, "#GlobalHandler::OnDie"; // Wait script execution to finish //setparam(Hp, 1); //warp "000-1", 22, 22; //end; // MUST be end; to mimic official behavior } else { - percentheal -100, -100; + addtimer 10, "#GlobalHandler::OnDie"; // Wait script execution to finish } return; } |