|
|
|
@ -117,11 +117,13 @@ public partial class AllFightersVisual : Node
|
|
|
|
if (targetDetail.selectEnemy)
|
|
|
|
if (targetDetail.selectEnemy)
|
|
|
|
_fighterVisuals
|
|
|
|
_fighterVisuals
|
|
|
|
.Where(kv => kv.Key.IsInFormation(HappeningData.enemyFighterFormation))
|
|
|
|
.Where(kv => kv.Key.IsInFormation(HappeningData.enemyFighterFormation))
|
|
|
|
|
|
|
|
.Where(kv => !targetDetail.aliveOnly || kv.Key.IsAlive())// if aliveOnly: take where IsAlive
|
|
|
|
.ForEach(kv => kv.Value.SetTargetSelectionActive(true));
|
|
|
|
.ForEach(kv => kv.Value.SetTargetSelectionActive(true));
|
|
|
|
|
|
|
|
|
|
|
|
if (targetDetail.selectAlly)
|
|
|
|
if (targetDetail.selectAlly)
|
|
|
|
_fighterVisuals
|
|
|
|
_fighterVisuals
|
|
|
|
.Where(kv => kv.Key.IsInFormation(HappeningData.allyFighterFormation))
|
|
|
|
.Where(kv => kv.Key.IsInFormation(HappeningData.allyFighterFormation))
|
|
|
|
|
|
|
|
.Where(kv => !targetDetail.aliveOnly || kv.Key.IsAlive())// if aliveOnly: take where IsAlive
|
|
|
|
.ForEach(kv => kv.Value.SetTargetSelectionActive(true));
|
|
|
|
.ForEach(kv => kv.Value.SetTargetSelectionActive(true));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|