diff options
-rw-r--r-- | npc/functions/hub.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index b2c05c6a9..eade2a4d5 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -406,6 +406,9 @@ function script HUB_SkillInvoke { case TMW2_BRAWLING: // 75x3 = 225 .@PW=70+(5*@skillLv); + // Using a shield, so power is halved + if (getequipid(EQI_HAND_L) > 0) + .@PW=.@PW/2; harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); @@ -413,6 +416,9 @@ function script HUB_SkillInvoke { case TMW2_BEARSTRIKE: // 60x5 = 300 .@PW=55+(5*@skillLv); + // Using a shield, so power is halved + if (getequipid(EQI_HAND_L) > 0) + .@PW=.@PW/2; harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); @@ -422,6 +428,9 @@ function script HUB_SkillInvoke { case TMW2_ALLINONE: // 45x8 = 360 .@PW=40+(5*@skillLv); + // Using a shield, so power is halved + if (getequipid(EQI_HAND_L) > 0) + .@PW=.@PW/2; harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Fire); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Water); |