well it's VERY ineffecent and inacurate but you could have a trigger running once a game second and have it increment an integer and have another trigger when the spell is cast, check the integer and reset it to 0.
NOTE: the acuracy of this integer will be HORRID it might be better to run every 5 seconds depending on how long you expect to be between casts. |