summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/hub.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index c108a569e..1137db76f 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -638,8 +638,11 @@ function script HUB_SkillInvoke {
// Penalty if you have HALT_REGEN on (-80%)
if (getstatus(SC_HALT_REGENERATION))
.@heal /= 5;
+ // Only give Mana EXP if it actually heals yourself
+ if (.@heal && Hp < MaxHp) {
+ GetManaExp(TMW2_HEALING, 1);
+ }
heal .@heal, 0;
- GetManaExp(TMW2_HEALING, 1);
break;
case TMW2_HEALING:
.@PW=130+(20*@skillLv);