User blog comment:Zobbes/AI help?/@comment-3495717-20121010122201

Perhaps your random value is too high? Average (or recommended) is around 100. Have you specified a position range (ie, p2bodydist >= 50)?

The main reason Rotom's initial release didn't include AI was due to projectile spam, so I know where you're coming from. From the various matches I've had against Rotom, he doesn't spam projectiles, so my guess would be to take a gander at his projectile section in his AI. I cannot help you fully at the moment, because I'm not at home.