summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-17 22:43:44 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-17 22:43:44 -0300
commit56298e9c308eac1ffd967d5a5da174c296a3efdd (patch)
treee79a21e3258332347c9358abb9236dbbd02bd6b5
parent9b5e178bfccbf52108c8b801ea94a89d9543dc9a (diff)
downloadserverdata-56298e9c308eac1ffd967d5a5da174c296a3efdd.tar.gz
serverdata-56298e9c308eac1ffd967d5a5da174c296a3efdd.tar.bz2
serverdata-56298e9c308eac1ffd967d5a5da174c296a3efdd.tar.xz
serverdata-56298e9c308eac1ffd967d5a5da174c296a3efdd.zip
Give a bonus of 1% healing to all items :3
-rw-r--r--npc/items/rand_sc_heal.txt3
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));