Pattern? All fights end first round. If the defender has any ships then no matter what the attacker loses all his ships even if there is an overwhelming attacker fleet. If there are no defender ships/defense then attacker wins and keeps all ships. It appears that in the battle reports the damage/shield calculation is correct. It may be an issue with attackernumberofships not being carried over after a battle is 0 for some reason.