Added ability for AI to attack.