summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-08-19 09:48:01 -0300
committerJesusaves <cpntb1@ymail.com>2024-08-19 09:48:01 -0300
commit1b0dafab2ba8f6a445227299ef3271f151c530b7 (patch)
tree21196336634076dc0231d6a8660bada4d872ec89
parentd4b0b5c2de0219819ee05670bdf47259de9a0318 (diff)
downloadserverdata-1b0dafab2ba8f6a445227299ef3271f151c530b7.tar.gz
serverdata-1b0dafab2ba8f6a445227299ef3271f151c530b7.tar.bz2
serverdata-1b0dafab2ba8f6a445227299ef3271f151c530b7.tar.xz
serverdata-1b0dafab2ba8f6a445227299ef3271f151c530b7.zip
Nerf first aid RP farming technique
-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);