v2.4.0: fixed dash unintentionally not cancelling when targeting chars
This commit is contained in:
+1
@@ -506,6 +506,7 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action {
|
|||||||
|
|
||||||
if (Actor.findChar(target) != null){
|
if (Actor.findChar(target) != null){
|
||||||
GLog.w(Messages.get(MeleeWeapon.class, "ability_occupied"));
|
GLog.w(Messages.get(MeleeWeapon.class, "ability_occupied"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ballistica dash = new Ballistica(hero.pos, target, Ballistica.PROJECTILE);
|
Ballistica dash = new Ballistica(hero.pos, target, Ballistica.PROJECTILE);
|
||||||
|
|||||||
Reference in New Issue
Block a user