summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-23 07:51:09 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-23 07:51:09 -0300
commit4a656a7a5eadce14756cf64ffedbab263274a4d7 (patch)
treebfd0416d7f9b73f68c5a8c9c6d14f0d7f3b7bed5 /npc/functions/hub.txt
parent5037ec541d517e288edb36c9fa6b4f07170a9fe0 (diff)
downloadserverdata-4a656a7a5eadce14756cf64ffedbab263274a4d7.tar.gz
serverdata-4a656a7a5eadce14756cf64ffedbab263274a4d7.tar.bz2
serverdata-4a656a7a5eadce14756cf64ffedbab263274a4d7.tar.xz
serverdata-4a656a7a5eadce14756cf64ffedbab263274a4d7.zip
TMW2_OVERLOAD
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index c0356f5fe..b54360e34 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -296,8 +296,12 @@ function script HUB_SkillInvoke {
SK_spregen();
GetManaExp(GD_DEVELOPMENT, 10);
break;
- // Magic v3
+ // Weapon Overload attack
+ case TMW2_OVERLOAD:
+ .@PW=67+(33*@skillLv);
+ areaharm(@skillTarget, 0, AdjustAttackpower(.@PW), HARM_MISC);
break;
+ // Magic v3
case TMW2_JUDGMENT:
debugmes "Target: %d (%d,%d)", @skillTarget, @skillTargetX, @skillTargetY;
areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
@@ -316,12 +320,6 @@ function script HUB_SkillInvoke {
Sp=0;
break;
- // Weapon Overload attack
- case TMW2_OVERLOAD:
- .@PW=67+(33*@skillLv);
- areaharm(@skillTarget, 0, AdjustAttackpower(.@PW), HARM_MISC);
- break;
-
// TODO: Ultimate Skills (T5/0)
// Support magic
@@ -460,6 +458,7 @@ function script HUB_SkillInvoke {
break;
// Summons which may fail
case TMW2_KALMURK:
+ // TODO: Allow Giant Maggot summoning
SK_summon(Maggot, 2, any(1,2));
break;
case TMW2_KALWULF: