diff options
-rw-r--r-- | npc/items/rand_sc_heal.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index 57948b94e..91ba1a150 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -41,6 +41,9 @@ function script ItHeal2 { .@min=.@rarity * ((.@type*1) + 1); .@max=.@rarity * ((.@type*2) + 1); + // Healing items always have a bonus positive variation of 1% + .@max+=1; + // Vitality raises the minimum healing value in 1%, capped at maximum vlaue // It also raises @max up to double .@max = min(.@max*2, .@max+(readparam2(bVit)/50)); |