summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-01 00:23:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-01 00:23:10 -0300
commit8e4878e8aca03f8401009e771087de0dbe505cd6 (patch)
tree5a711436748c3b9309a1e7d6b49ada08c1ab2e79
parentdd23883992bf67c80872ebca8612d2c2335e0a6e (diff)
downloadserverdata-8e4878e8aca03f8401009e771087de0dbe505cd6.tar.gz
serverdata-8e4878e8aca03f8401009e771087de0dbe505cd6.tar.bz2
serverdata-8e4878e8aca03f8401009e771087de0dbe505cd6.tar.xz
serverdata-8e4878e8aca03f8401009e771087de0dbe505cd6.zip
Healing gives Mana EXP
-rw-r--r--npc/functions/hub.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index b255f7c73..67b1b187e 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -324,16 +324,19 @@ function script HUB_SkillInvoke {
// First aid only works on you, so
.@heal=max(AdjustSpellpower(.@PW), AdjustAttackpower(.@PW));
heal .@heal, 0;
+ GetManaExp(TMW2_HEALING, 1);
break;
case TMW2_HEALING:
.@PW=130+(20*@skillLv);
harm(@skillTarget, -AdjustSpellpower(.@PW), HARM_MISC);
+ GetManaExp(TMW2_HEALING, 2);
break;
case TMW2_MAGNUSHEAL:
// Area healing
.@PW=200+(20*@skillLv);
.@RG=4+(@skillLv/5);
areaharm(@skillTarget, .@RG, -AdjustSpellpower(.@PW), HARM_MISC, "filter_friendly");
+ GetManaExp(TMW2_HEALING, 3);
break;
////////////////////////////////
case TMW2_NILFHEIM: