From 9456ac87dc990c1b059528bc19b9d85bbce44aa6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 26 Jun 2020 14:49:36 -0300 Subject: [skip ci] This would be needed to make the combos to work Horizontal, Diagonal, Vertical, Stab and then Grand Blast. This needs perfect sequencing, but we still have a problem: The skills can be used versus any target =/ --- npc/functions/hub.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'npc/functions/hub.txt') 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 -- cgit v1.2.3-60-g2f50