your castrandom is to cast a spell randomly, not evaluate a condition randomly. yea you'll have to find a workaround for that. im a bit busy at work today so i'll have to think about this later.