diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index a2a01bebf..a318873b0 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -289,11 +289,8 @@ function script HUB_SkillInvoke { case TMW2_JUDGMENT: debugmes "Target: %d (%d,%d)", @skillTarget, @skillTargetX, @skillTargetY; areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC); - .@type=any(HARM_PHYS, HARM_MAGI); - .@dmg=calcdmg(getcharid(3), @skillTarget, .@type); - // Adjusted power: 300 - .@dmg=.@dmg*300/100; - harm(@skillTarget, .@dmg, .@type, Ele_Holy); + .@dmg=AdjustSpellpower(300); + harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy); break; case TMW2_PARUM: SK_parum(); |