summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-23 08:27:54 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-23 08:27:54 -0300
commit133064a15dbb70302bb37538cf472b47613c4dd1 (patch)
treeb68ded3ace1d73e32a4f656f6ebba843a9c91f1e /npc/functions
parent26667c5e26f2e7f6ba458059e527a1f91a31c4a5 (diff)
downloadserverdata-133064a15dbb70302bb37538cf472b47613c4dd1.tar.gz
serverdata-133064a15dbb70302bb37538cf472b47613c4dd1.tar.bz2
serverdata-133064a15dbb70302bb37538cf472b47613c4dd1.tar.xz
serverdata-133064a15dbb70302bb37538cf472b47613c4dd1.zip
[skip ci] A typo, ofc
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 50a9e11d1..8db4929ef 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -298,7 +298,7 @@ function script HUB_SkillInvoke {
break;
// FIXME: Weapon Overload attack
case TMW2_OVERLOAD:
- .@PW=200+(@skillLv > 3 ? @skillLv)+(@skillLv > 7 ? @skillLv*2);
+ .@PW=200+(@skillLv > 3 ? @skillLv : 0)+(@skillLv > 7 ? @skillLv*2 : 0);
areaharm(@skillTarget, 0, AdjustAttackpower(.@PW), HARM_MISC);
break;
// Magic v3