From eca038e00b9937d6c177bd8cddc8b5b1a2e9c5a9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 May 2020 00:57:23 -0300 Subject: Replace our script-induced deaths with new, custom, die() command This will fix one of the HardCore Server bugs. --- npc/functions/refine.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions/refine.txt') diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt index fb1cfb57e..e5c835070 100644 --- a/npc/functions/refine.txt +++ b/npc/functions/refine.txt @@ -115,14 +115,14 @@ function script refineMaster { if (getequipisequiped(.@it) == 0) { mesn; mesc l("All cheaters must die."), 1; - percentheal -100, -100; + die(); close; } // Item changed if (getequiprefinerycnt(.@it) != .@rlv || getequipid(.@it) != .@item) { mesn; mesc l("All cheaters must die."), 1; - percentheal -100, -100; + die(); close; } ///// This should cover most of Crazyfefe tricks ¬.¬ I hope ¬.¬ -- cgit v1.2.3-70-g09d2