summaryrefslogtreecommitdiff
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
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)
-rw-r--r--db/pre-re/skill_db.conf1
-rw-r--r--npc/magic/level1-lesser-heal.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf
index b9d6eb2c..69157ef9 100644
--- a/db/pre-re/skill_db.conf
+++ b/db/pre-re/skill_db.conf
@@ -39354,6 +39354,5 @@ skill_db: (
SPCost: 23
}
},
-// FlyingBackpack(?) Shear
)
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))