AlvaroSousa -> RE: Losses screen (2/24/2020 4:30:33 PM)
|
I'm looking at the code and it is right. Start game. Axis go. They mount up losses.... it shows. Allies go. It shows losses from the Axis 1st turn move Turn 2. Axis go. It removes Axis turn 1 losses, keeps Allies turn 1 losses. Axis attack. It adds Allies go. It removes Allies turn 1 looses, keeps Axis turn 2 losses. It always captures the previous side that moved and the current turn losses from your moving side. It shifts the losses at the end of a player's turn. So the player that just moved gets his losses shifted 1 turn. The next player going is accumulating losses on their turn. When he ends previous losses are gone, his losses are previous, and the next side is now the current losses. In the reports it shows current + previous. The only way it can be wrong is if some combat function is not updating game losses because the code to do it isn't there. But I just checked all of them. If there is something off you need to be very specific in case I missed something. This function doesn't change for PBEM, hotseat, or A.I.
|
|
|
|