summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 20a13f07a..61eda0418 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -486,6 +486,7 @@ function script HUB_SkillInvoke {
case TMW2_HORIZONTALSLASH:
.@PW=100;
.@PW+=(5*@skillLv);
+ @SCombo=@skillTarget;
harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
GetManaExp(@skillId, rand2(1,3));
break;
@@ -495,6 +496,8 @@ function script HUB_SkillInvoke {
.@PW+=20;
if (.@PW >= 120)
.@PW+=30;
+ if (@SCombo != @skillTarget)
+ .@PW=100;
.@PW+=(5*@skillLv);
harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
GetManaExp(@skillId, rand2(1,3));
@@ -507,6 +510,8 @@ function script HUB_SkillInvoke {
.@PW+=20;
if (.@PW >= 150)
.@PW+=100;
+ if (@SCombo != @skillTarget)
+ .@PW=100;
.@PW+=(5*@skillLv);
harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
GetManaExp(@skillId, rand2(1,3));
@@ -521,6 +526,8 @@ function script HUB_SkillInvoke {
.@PW+=20;
if (.@PW >= 190)
.@PW+=200;
+ if (@SCombo != @skillTarget)
+ .@PW=100;
.@PW+=(5*@skillLv);
harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
GetManaExp(@skillId, rand2(1,3));
@@ -537,6 +544,8 @@ function script HUB_SkillInvoke {
.@PW+=20;
if (.@PW >= 200)
.@PW+=300;
+ if (@SCombo != @skillTarget)
+ .@PW=100;
.@PW+=(5*@skillLv);
harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Holy);
GetManaExp(@skillId, rand2(2,3));