v2.1.0: fixed lash ability dealing 0 damage
This commit is contained in:
committed by
Evan Debenham
parent
81a2cad8fa
commit
00c8289b18
+1
-1
@@ -83,7 +83,7 @@ public class Whip extends MeleeWeapon {
|
|||||||
public void call() {
|
public void call() {
|
||||||
beforeAbilityUsed(hero, finalClosest);
|
beforeAbilityUsed(hero, finalClosest);
|
||||||
for (Char ch : targets) {
|
for (Char ch : targets) {
|
||||||
hero.attack(ch, 0, 1, ch == finalClosest ? Char.INFINITE_ACCURACY : 1);
|
hero.attack(ch, 1, 0, ch == finalClosest ? Char.INFINITE_ACCURACY : 1);
|
||||||
if (!ch.isAlive()){
|
if (!ch.isAlive()){
|
||||||
onAbilityKill(hero, ch);
|
onAbilityKill(hero, ch);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user