summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-17 20:17:35 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-17 20:17:35 -0300
commit1f941e6b6a018d5018864a441c634a14bf6ec596 (patch)
tree00cceb0bd1385bf61edc6d6d29bd1e0897edec5d /npc
parent927b1d3485f41bedf32a14a7019878d8ea565f1c (diff)
downloadserverdata-1f941e6b6a018d5018864a441c634a14bf6ec596.tar.gz
serverdata-1f941e6b6a018d5018864a441c634a14bf6ec596.tar.bz2
serverdata-1f941e6b6a018d5018864a441c634a14bf6ec596.tar.xz
serverdata-1f941e6b6a018d5018864a441c634a14bf6ec596.zip
Change #lum healing ID from G to M (it definitely will not compete with healing items)
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/level1-lesser-heal.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/magic/level1-lesser-heal.txt b/npc/magic/level1-lesser-heal.txt
index d7de0185..88cef70f 100644
--- a/npc/magic/level1-lesser-heal.txt
+++ b/npc/magic/level1-lesser-heal.txt
@@ -43,7 +43,7 @@ function script SK_Lum {
// Real healing happens here
.@PW=90+(10*@skillLv);
.@dmg=AdjustSpellpower(.@PW);
- sc_start(SC_G_LIFEPOTION, 5000, 1+.@dmg/5, 10000,
+ sc_start(SC_M_LIFEPOTION, 5000, 1+max(0, .@dmg/5), 10000,
SCFLAG_NOAVOID|SCFLAG_FIXEDTICK|SCFLAG_FIXEDRATE, @skillTarget);
specialeffect(FX_MAGIC_WHITE, AREA, @skillTarget);
if (@skillTarget != getcharid(3))