summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-03 14:29:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-03 14:29:57 -0300
commite16deb169c9510c19f6602181dd31ae24cbde140 (patch)
tree2cd5886cee8f9765f4e799c643bd32d8046c5d11 /npc
parent4c675f2accd0a0e39d6504662838a54530706ff6 (diff)
downloadserverdata-e16deb169c9510c19f6602181dd31ae24cbde140.tar.gz
serverdata-e16deb169c9510c19f6602181dd31ae24cbde140.tar.bz2
serverdata-e16deb169c9510c19f6602181dd31ae24cbde140.tar.xz
serverdata-e16deb169c9510c19f6602181dd31ae24cbde140.zip
Vit and Level won't affect fixed-HP healing items anymore (sanitization)
Diffstat (limited to 'npc')
-rw-r--r--npc/items/legacy_heal.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/legacy_heal.txt b/npc/items/legacy_heal.txt
index c2e1693a9..57a3da2d8 100644
--- a/npc/items/legacy_heal.txt
+++ b/npc/items/legacy_heal.txt
@@ -27,7 +27,7 @@ OnUse:
.@skill = SC_S_LIFEPOTION;
// minimum between @min and bVit / 2 * BaseLevel / 10
- @min = min(@max, readparam(bVit) * BaseLevel / 20);
+ //@min = min(@max, readparam(bVit) * BaseLevel / 20);
@val1 = rand2(@min, @max);
@delay *= 1000; // Put the delay in ms