Parenting AI for Team Combat

Also fixed statistics tracking.