diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-23 08:26:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-23 08:26:33 -0300 |
commit | 26667c5e26f2e7f6ba458059e527a1f91a31c4a5 (patch) | |
tree | 9e6a8a26c5e8731c3f6ce25f45fd3cbf0b9fe46a | |
parent | c39dd039e0eb9ba22c1f797ea9bafed928b3fa95 (diff) | |
download | serverdata-26667c5e26f2e7f6ba458059e527a1f91a31c4a5.tar.gz serverdata-26667c5e26f2e7f6ba458059e527a1f91a31c4a5.tar.bz2 serverdata-26667c5e26f2e7f6ba458059e527a1f91a31c4a5.tar.xz serverdata-26667c5e26f2e7f6ba458059e527a1f91a31c4a5.zip |
[skip ci] Where's the bug I wonder
-rw-r--r-- | npc/functions/hub.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 61fa2ec24..50a9e11d1 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -296,12 +296,18 @@ function script HUB_SkillInvoke { SK_spregen(); GetManaExp(GD_DEVELOPMENT, 10); break; - // Weapon Overload attack + // FIXME: Weapon Overload attack case TMW2_OVERLOAD: .@PW=200+(@skillLv > 3 ? @skillLv)+(@skillLv > 7 ? @skillLv*2); - areaharm(@skillTarget, 1, AdjustAttackpower(.@PW), HARM_MISC); + areaharm(@skillTarget, 0, AdjustAttackpower(.@PW), HARM_MISC); break; // Magic v3 + case TMW2_NILFHEIM: + // Nilfheim cast on self? + .@PW=80+(10*@skillLv); + areasc(8, 10000, SC_FREEZE, BL_PC | BL_MOB | BL_MER | BL_HOM, "filter_hostile"); // Maybe filter_notme() would work better, indeed + areaharm(getcharid(3), 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water); + break; case TMW2_JUDGMENT: debugmes "Target: %d (%d,%d)", @skillTarget, @skillTargetX, @skillTargetY; areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC); @@ -374,12 +380,6 @@ function script HUB_SkillInvoke { sc_start SC_FREEZE, 10000, 1, 800, flag?, @skillTarget; areaharm(@skillTarget, 6, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water); break; - case TMW2_NILFHEIM: - // Nilfheim cast on self? - .@PW=80+(10*@skillLv); - areasc(8, 10000, SC_FREEZE, BL_PC | BL_MOB | BL_MER | BL_HOM, "filter_hostile"); // Maybe filter_notme() would work better, indeed - areaharm(getcharid(3), 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water); - break; case TMW2_MAGICSTRIKE: case TMW2_LIGHTNINGBOLT: |