How does flanking work? I know it deals damage if the unit survives(either withdraws or wins) but how much and to how many and how? Does it work like colleteral damage? How many units can you deal damage to at once? Since colleteral damage is not affected by HP of the unit, you would need to kill them to have much effect. Hence i am wondering how many mounted units you would need to kill a stack of siege weapons(and other units). For example say there was a stack with 8 catapults and assorted units(among them quite a number of spears and war elephants), how many HA's would you need to take out the cats(assuming half survive due to 50% withdrawl chance with flanking 2). http://www.nopaste.com/p/ac7rSHmlx here is the relevant code btw.