Target only alive enemies
This commit is contained in:
@@ -243,7 +243,7 @@ public partial class FightInstance : Node2D //TODO: remake
|
||||
|
||||
private void ShowTargetButtons()
|
||||
{
|
||||
_enemyFighters.ForEach(f => f.ShowTargetButtons());
|
||||
_enemyFighters.Where(f=>!f.IsDead()).ForEach(f => f.ShowTargetButtons());
|
||||
}
|
||||
|
||||
public void SelectTargetAndAttack(Fighter fighter)
|
||||
|
||||
Reference in New Issue
Block a user