diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 144ae2270..bd96481f2 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -598,11 +598,17 @@ function script HUB_SkillInvoke { .@PW=90+(10*@skillLv); // First aid only works on you, so .@heal=max(AdjustSpellpower(.@PW), AdjustAttackpower(.@PW)); + // Penalty if you have HALT_REGEN on (-80%) + if (getstatus(SC_HALT_REGENERATION)) + .@heal /= 5; heal .@heal, 0; GetManaExp(TMW2_HEALING, 1); break; case TMW2_HEALING: .@PW=130+(20*@skillLv); + // Penalty if you have HALT_REGEN on and trying to self heal + if (getstatus(SC_HALT_REGENERATION) && @skillTarget == getcharid(3)) + .@heal /= 3; harm(@skillTarget, -AdjustSpellpower(.@PW), HARM_MISC); GetManaExp(TMW2_HEALING, 2); break; |