petra: adapt garrisoning to the attackers
Summary: When a structure with arrow was attacked, it was garrisoned independently of the attacker, which was not the best answer when atacked by a ram for example. This patch tries to adapt the garrisoning to the attackers.
Reviewed By: Sandarac
Differential Revision: https://code.wildfiregames.com/D446