summaryrefslogtreecommitdiff
path: root/npc/magic/level1-lesser-heal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/magic/level1-lesser-heal.txt')
-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))