v2.0.0: fixed duelist abilities benefitting from time freeze
This commit is contained in:
+1
-1
@@ -215,8 +215,8 @@ public class Pickaxe extends MeleeWeapon {
|
|||||||
}
|
}
|
||||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||||
}
|
}
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
afterAbilityUsed(hero);
|
afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -95,8 +95,8 @@ public class Greataxe extends MeleeWeapon {
|
|||||||
onAbilityKill(hero);
|
onAbilityKill(hero);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
afterAbilityUsed(hero);
|
afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -94,8 +94,8 @@ public class Mace extends MeleeWeapon {
|
|||||||
wep.onAbilityKill(hero);
|
wep.onAbilityKill(hero);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
wep.afterAbilityUsed(hero);
|
wep.afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -126,8 +126,8 @@ public class Rapier extends MeleeWeapon {
|
|||||||
onAbilityKill(hero);
|
onAbilityKill(hero);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
afterAbilityUsed(hero);
|
afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -94,8 +94,8 @@ public class RunicBlade extends MeleeWeapon {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
tracker.detach();
|
tracker.detach();
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
afterAbilityUsed(hero);
|
afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -101,6 +101,7 @@ public class Sai extends MeleeWeapon {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Invisibility.dispel();
|
||||||
if (recentHits >= 2 && hit){
|
if (recentHits >= 2 && hit){
|
||||||
for (Buff b : buffs){
|
for (Buff b : buffs){
|
||||||
b.detach();
|
b.detach();
|
||||||
@@ -110,7 +111,6 @@ public class Sai extends MeleeWeapon {
|
|||||||
} else {
|
} else {
|
||||||
hero.spendAndNext(hero.attackDelay());
|
hero.spendAndNext(hero.attackDelay());
|
||||||
}
|
}
|
||||||
Invisibility.dispel();
|
|
||||||
wep.afterAbilityUsed(hero);
|
wep.afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -101,8 +101,8 @@ public class Spear extends MeleeWeapon {
|
|||||||
}
|
}
|
||||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||||
}
|
}
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
wep.afterAbilityUsed(hero);
|
wep.afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -93,6 +93,7 @@ public class Sword extends MeleeWeapon {
|
|||||||
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Invisibility.dispel();
|
||||||
hero.spendAndNext(hero.attackDelay());
|
hero.spendAndNext(hero.attackDelay());
|
||||||
if (!enemy.isAlive()){
|
if (!enemy.isAlive()){
|
||||||
wep.onAbilityKill(hero);
|
wep.onAbilityKill(hero);
|
||||||
@@ -102,7 +103,6 @@ public class Sword extends MeleeWeapon {
|
|||||||
hero.buff(CleaveTracker.class).detach();
|
hero.buff(CleaveTracker.class).detach();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Invisibility.dispel();
|
|
||||||
wep.afterAbilityUsed(hero);
|
wep.afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -84,8 +84,8 @@ public class Whip extends MeleeWeapon {
|
|||||||
onAbilityKill(hero);
|
onAbilityKill(hero);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hero.spendAndNext(hero.attackDelay());
|
|
||||||
Invisibility.dispel();
|
Invisibility.dispel();
|
||||||
|
hero.spendAndNext(hero.attackDelay());
|
||||||
afterAbilityUsed(hero);
|
afterAbilityUsed(hero);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user