From 3e0f1b061279cf28679a73886e349580aa6bfd40 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 28 Jul 2023 17:53:31 -0300 Subject: Get rid of garbage and support TMW rEvolt healing --- npc/items/rand_sc_heal.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/items') diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index 41ea3b3..5a9a915 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -97,10 +97,10 @@ function script ItHeal2 { end; OnUse: if (@rarity <= 0) { - Exception("Invalid healing item, deleting without healing effect."); - end; + ItHeal(); + } else { + ItHeal2(@type, @rarity, @delay); } - ItHeal2(@type, @rarity, @delay); // Clear stuff // @val1 must be preserved for cross-reading -- cgit v1.2.3-70-g09d2