summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-17 22:42:38 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-17 22:42:38 -0300
commit9b5e178bfccbf52108c8b801ea94a89d9543dc9a (patch)
treea05bc48d40f3e1b9049d70cbbe894c1794f647fa /npc/items
parent935cabea8b4570689532932a5c715e1ea9b11fc2 (diff)
downloadserverdata-9b5e178bfccbf52108c8b801ea94a89d9543dc9a.tar.gz
serverdata-9b5e178bfccbf52108c8b801ea94a89d9543dc9a.tar.bz2
serverdata-9b5e178bfccbf52108c8b801ea94a89d9543dc9a.tar.xz
serverdata-9b5e178bfccbf52108c8b801ea94a89d9543dc9a.zip
Fix typo in healing items, which prevented them from fully working
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/rand_sc_heal.txt4
1 files 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