Hey Carlos,The engine will support all built in javascript functions plus the game specific ones I expose.
So Math.random will be in there.As a bit of trivia it actually uses the Google V8 javascript engine which is the same javascript engine used in Google Chrome.
Your random effect skill sounds like a cool one. I look forward to seeing it.
Ian Reed