The AI will stop repairing if the attacker is dead? This is indeed quite non-sensical.