Coordinate workingFieldPos = quadMap.getWorkingFieldPos();
if (CombatCalculator.canNeighborAttack(gameData, attackings, workingFieldPos)) {
Coordinate attPos = attackings.iterator().next().getField().getPosition();
DamageManager damageManager = Game.getGame().getDamageManager();
CombatManager combatManager = null;
try {
combatManager = new CombatManager(attackings, attPos,
workingFieldPos, damageManager);
} catch (MethodCallerException ex) {
Messages.getMessages().err("AttackWFAction", "Error: " + ex);
Messages.getMessages().err("AttackWFAction", "CivQuest will abort now!");
System.exit(-1);
}
combatManager.shoot();
// boolean couldShoot = false;
// do {
// couldShoot = combatManager.shoot();
// } while (couldShoot);