Collapsing Ranks - MCDMFG/KingdomsAndWarfare GitHub Wiki
Once you have set up Warfare Markers on your battlemap, the extension will automatically track which ranks should collapse at the end of each round. When a new round begins, the system will look to see if any rank lacks any units, and if a rank has no units it will send a system message and place the collapsed rank token in all grid spaces within that rank.
An example of this below: