summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-29 16:11:42 +0000
committerJesusaves <cpntb1@ymail.com>2021-05-29 16:11:42 +0000
commitd29b2edf5643008cabf92ac63f9244b51e535c7b (patch)
tree24b7d6ee847b42054851bb3df2d1893562108471 /npc/functions/hub.txt
parent7aacf4a9d36cf3e07d1b8ecfa3b657c8f31855a0 (diff)
parent112879ece31a385584499263da67f84f98ed29cc (diff)
downloadserverdata-d29b2edf5643008cabf92ac63f9244b51e535c7b.tar.gz
serverdata-d29b2edf5643008cabf92ac63f9244b51e535c7b.tar.bz2
serverdata-d29b2edf5643008cabf92ac63f9244b51e535c7b.tar.xz
serverdata-d29b2edf5643008cabf92ac63f9244b51e535c7b.zip
Merge branch 'SpeedDuck-master-patch-69368' into 'master'
Implement Brawler Sciences Class and skills See merge request TMW2/serverdata!61
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index f3ff72983..a2a981da9 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -1,6 +1,7 @@
// TMW2 scripts.
// Authors:
// Jesusalva
+// dangerDuck
// TMW Org.
// Description:
// HUB functions (Login, Logout, Death)
@@ -847,6 +848,20 @@ function script HUB_SkillInvoke {
// and also hits behind (and on your square)
rectharm(@skillTarget, 0, 1, AdjustAttackpower(.@PW/2), HARM_PHYS, Ele_Neutral);
break;
+ case TMW2_STUNNINGSTRIKE:
+ // 70x3 = 210
+ .@PW=65+(5*@skillLv);
+ .@TM=1600+(@skillLv*200);
+ // Using a shield, so power is halved
+ if (getequipid(EQI_HAND_L) > 0)
+ .@PW=.@PW/2;
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ sleep2(10);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ sleep2(10);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ sc_start SC_STUN, .@TM, 1, 3333, SCFLAG_NONE, @skillTarget;
+ break;
////////////////////////////////
// CLASS_OTHER