summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 04:37:02 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 04:37:02 -0300
commit1af508d71f91b6e2c4f012b94685b1563bf3606c (patch)
tree6add5efdb42ca034daef338e8e4d07b722798bf5
parent7c13373524c6100aae67127cb1e3d6f3a5f4ab79 (diff)
downloadserverdata-1af508d71f91b6e2c4f012b94685b1563bf3606c.tar.gz
serverdata-1af508d71f91b6e2c4f012b94685b1563bf3606c.tar.bz2
serverdata-1af508d71f91b6e2c4f012b94685b1563bf3606c.tar.xz
serverdata-1af508d71f91b6e2c4f012b94685b1563bf3606c.zip
Issue healing experience without greater concerns.
You should now be capable to learn Lay on Hands \o/
-rw-r--r--npc/magic/level1-lesser-heal.txt2
-rw-r--r--npc/magic/level2-lay-on-hands.txt1
2 files changed, 3 insertions, 0 deletions
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;