A recent colony attack we did got me wondering about how crystals are distributed when multiple armies attack. Everyone knows that it is roughly proportional, but how exactly is a bit puzzling to me.
Here are the screen shots of the BR and some calculations I did. The colony had 23 crystals, and every member attacked told me the amount of crystals received:




Notice how the real crystals achieved are quite off of the share of surviving units for me and John Maynard.
So, I am wondering: What exactly is the code?
The only idea I have that explains the data is:
*Players with highest share of surviving units get crystals allocated first
*Crystal number is rounded UP to the next integer for each player
Is that the real code?
- Xeeron
PS: Lobo = John