diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-18 03:48:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-18 03:48:03 -0300 |
commit | 4c1c006f2a500fcc00e0c06408931464346fa1bc (patch) | |
tree | 7f5af819e07f77182a078e81e0841faf2e61b71c /npc/magic/level2-lay-on-hands.txt | |
parent | 487fe31613270893a6cec38673ecc15b3814fb22 (diff) | |
download | serverdata-4c1c006f2a500fcc00e0c06408931464346fa1bc.tar.gz serverdata-4c1c006f2a500fcc00e0c06408931464346fa1bc.tar.bz2 serverdata-4c1c006f2a500fcc00e0c06408931464346fa1bc.tar.xz serverdata-4c1c006f2a500fcc00e0c06408931464346fa1bc.zip |
Add SC_HALT_REGENERATION, update binaries and SC config
Note for self: Remove binaries from tree when possible
Diffstat (limited to 'npc/magic/level2-lay-on-hands.txt')
-rw-r--r-- | npc/magic/level2-lay-on-hands.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/magic/level2-lay-on-hands.txt b/npc/magic/level2-lay-on-hands.txt index 65c68523..1d515324 100644 --- a/npc/magic/level2-lay-on-hands.txt +++ b/npc/magic/level2-lay-on-hands.txt @@ -17,9 +17,9 @@ function script SK_Inma { if (isequipped(MagicGMTopHat)) .@ok=false; // Ailments which prevent inma from working - if (getstatus(SC_BLOODING)) - .@ok=false; - if (getstatus(SC_CURSE)) + if (getstatus(SC_BLOODING) || + getstatus(SC_HALT_REGENERATION) || + getstatus(SC_CURSE)) .@ok=false; if (getstatus(SC_POISON) && !getstatus(SC_SLOWPOISON)) .@ok=false; @@ -42,7 +42,7 @@ function script SK_Inma { if (isequipped(MagicGMTopHat)) return; // Kill the GM event if (.@limit <= 0) return; // No need for healing // Apply effects - .@PW=130+(20*@skillLv); + .@PW=60+(20*@skillLv); .@dmg=AdjustSpellpower(.@PW); // Capped to what you need or your own health - the smallest of them @@ -58,9 +58,9 @@ function script SK_Inma { // Specifics if (getskilllv(SKILL_MAGIC_DARK) >= 2) - SC_Bonus(10, SC_BLOODING, 1); // FIXME SC_REBOUND? SC_MAGICMUSHROOM? + SC_Bonus(10, SC_HALT_REGENERATION, 1); else - SC_Bonus(5, SC_BLOODING, 1); // FIXME SC_REBOUND? SC_MAGICMUSHROOM? + SC_Bonus(5, SC_HALT_REGENERATION, 1); // Gives EXP according to how much you healed setq2(MagicQuest_Healing, getq2(MagicQuest_Healing)+1); |