From 56298e9c308eac1ffd967d5a5da174c296a3efdd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 17 May 2022 22:43:44 -0300 Subject: Give a bonus of 1% healing to all items :3 --- npc/items/rand_sc_heal.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc') 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)); -- cgit v1.2.3-60-g2f50