diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-07-28 17:53:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-07-28 17:53:31 -0300 |
commit | 3e0f1b061279cf28679a73886e349580aa6bfd40 (patch) | |
tree | 9052d7a1e0a99ff73c1b6ee16b9313828fb8298c /npc/items | |
parent | 6dadde38a3b2aa0d2acdcdca0bcbc160cf3cb043 (diff) | |
download | serverdata-3e0f1b061279cf28679a73886e349580aa6bfd40.tar.gz serverdata-3e0f1b061279cf28679a73886e349580aa6bfd40.tar.bz2 serverdata-3e0f1b061279cf28679a73886e349580aa6bfd40.tar.xz serverdata-3e0f1b061279cf28679a73886e349580aa6bfd40.zip |
Get rid of garbage and support TMW rEvolt healing
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/rand_sc_heal.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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 |