diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 79a4b0990..20a13f07a 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -480,13 +480,14 @@ function script HUB_SkillInvoke { // if SC_FREEZE or SC_COLD break; - // TODO: Something powerful for swords? Like a skill combo? + // Sword skills are a 5-skills combo // No cast time, but cooldown present // DEF lowers as cast, damage based on combo. case TMW2_HORIZONTALSLASH: .@PW=100; .@PW+=(5*@skillLv); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); + GetManaExp(@skillId, rand2(1,3)); break; case TMW2_DIAGONALSLASH: .@PW=100; @@ -496,6 +497,7 @@ function script HUB_SkillInvoke { .@PW+=30; .@PW+=(5*@skillLv); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); + GetManaExp(@skillId, rand2(1,3)); break; case TMW2_VERTICALSLASH: .@PW=100; @@ -507,6 +509,7 @@ function script HUB_SkillInvoke { .@PW+=100; .@PW+=(5*@skillLv); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); + GetManaExp(@skillId, rand2(1,3)); break; case TMW2_STAB: .@PW=100; @@ -520,6 +523,7 @@ function script HUB_SkillInvoke { .@PW+=200; .@PW+=(5*@skillLv); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral); + GetManaExp(@skillId, rand2(1,3)); break; case TMW2_GRANDBLAST: .@PW=100; @@ -535,6 +539,7 @@ function script HUB_SkillInvoke { .@PW+=300; .@PW+=(5*@skillLv); harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Holy); + GetManaExp(@skillId, rand2(2,3)); break; // Brawling Class |