Add AI logic for cards and hero skills