Just from the snippets you've posted here it looks like you're increasing the attack rating every time a battle takes place...
My preference would be to alter the code in ComabtUnit::GetOffense and CombatUnit::GetDefense so that they checked the veteran status. Veteranness is a property of the unit, not the battle, and so if possible the code pertaining to it should be contained within the unit definition.
My preference would be to alter the code in ComabtUnit::GetOffense and CombatUnit::GetDefense so that they checked the veteran status. Veteranness is a property of the unit, not the battle, and so if possible the code pertaining to it should be contained within the unit definition.
Comment