From 9b5e178bfccbf52108c8b801ea94a89d9543dc9a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 17 May 2022 22:42:38 -0300 Subject: Fix typo in healing items, which prevented them from fully working --- npc/items/rand_sc_heal.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index fca290644..57948b94e 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -39,11 +39,11 @@ function script ItHeal2 { // Calculate healing value in % .@min=.@rarity * ((.@type*1) + 1); - .@max=.@rarity * ((.@type*1) + 1); + .@max=.@rarity * ((.@type*2) + 1); // Vitality raises the minimum healing value in 1%, capped at maximum vlaue // It also raises @max up to double - .@max = min(.@max*2, .@min+(readparam2(bVit)/50)); + .@max = min(.@max*2, .@max+(readparam2(bVit)/50)); .@min = min(.@max, .@min+(readparam2(bVit)/30)); // Make these abstract % in absolute values -- cgit v1.2.3-70-g09d2