Improved code to chose attacking and attacked group
Some doc for the readers