From 1af508d71f91b6e2c4f012b94685b1563bf3606c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 14 Apr 2021 04:37:02 -0300 Subject: Issue healing experience without greater concerns. You should now be capable to learn Lay on Hands \o/ --- npc/magic/level1-lesser-heal.txt | 2 ++ npc/magic/level2-lay-on-hands.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/npc/magic/level1-lesser-heal.txt b/npc/magic/level1-lesser-heal.txt index 805b79ec..62e4e816 100644 --- a/npc/magic/level1-lesser-heal.txt +++ b/npc/magic/level1-lesser-heal.txt @@ -50,6 +50,8 @@ function script SK_Lum { SC_Bonus(2, SC_BLOODING, 1); // FIXME SC_REBOUND? SC_MAGICMUSHROOM? // Gives EXP according to how much you healed + if (@skillTarget != getcharid(3)) + setq2(MagicQuest_Healing, getq2(MagicQuest_Healing)+1); getexp min(.@dmg, .@limit)*getskilllv(SKILL_MAGIC_LIFE), .@PW/10; GetManaExp(@skillId, 1); return; diff --git a/npc/magic/level2-lay-on-hands.txt b/npc/magic/level2-lay-on-hands.txt index fe9af4cd..f3ff5880 100644 --- a/npc/magic/level2-lay-on-hands.txt +++ b/npc/magic/level2-lay-on-hands.txt @@ -61,6 +61,7 @@ function script SK_Inma { SC_Bonus(5, SC_BLOODING, 1); // FIXME SC_REBOUND? SC_MAGICMUSHROOM? // Gives EXP according to how much you healed + setq2(MagicQuest_Healing, getq2(MagicQuest_Healing)+1); getexp .@dmg*getskilllv(SKILL_MAGIC_LIFE), .@PW/10; GetManaExp(@skillId, 2); return; -- cgit v1.2.3-60-g2f50