summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-24 19:27:07 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-24 19:27:07 -0300
commit029ec67ac4c2f35e23e3ecbc2651473e054c93a0 (patch)
treedd18f59af86767bd4ec3c8541fed0556b1a0b929 /npc/items
parent974162b9fd470b9afcb8204451dd55763febd3d7 (diff)
downloadserverdata-029ec67ac4c2f35e23e3ecbc2651473e054c93a0.tar.gz
serverdata-029ec67ac4c2f35e23e3ecbc2651473e054c93a0.tar.bz2
serverdata-029ec67ac4c2f35e23e3ecbc2651473e054c93a0.tar.xz
serverdata-029ec67ac4c2f35e23e3ecbc2651473e054c93a0.zip
Fix infinite healing bug (maybe)
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 a005bf095..6f0ef38b4 100644
--- a/npc/items/rand_sc_heal.txt
+++ b/npc/items/rand_sc_heal.txt
@@ -87,11 +87,11 @@ OnUse:
// Calculate delay if it was not given
if (!@delay || @delay > 60) {
- @delay=1 + (@type*2);
+ @delay=1 + ((@type*3)/2);
}
// Update val1
- @val1 = @val1 / @delay;
+ @val1 = (@val1 / @delay) + 1;
// Decide the healing bonus type. We have four types: S, L, G and M
// By default, we use 'S'