How does it works? It must be activated before sending of attack and when attack arrives to target city or... ?