This commit is stunning for AI (AI server now supports randomly stunning mobs on lightning damage); resolves #329.