I know I saw a post somewhere in the last few days that talked about calculating the remaining time to complete a spell cast but I can't find it for the life of me. I have a macro I use for healing and I basically want to have it check for targets health with 1 second left on cast time and interrupt if that target is over a certain health. Sometimes I spot heal and the other heal is redundant.
/if (${Target.PctHPs}>80 && ${CastTimeRemaining}<1s) /stopcast
Something along the lines above, but I can't figure out the syntax for the 2nd part relating to cast time remaining. Can't get anything to return a value as an /echo. For the macro in question the only thing it does is heal, so no buffs or nukes etc would be effected by the stopcast.
Also as a further question. How often are holy/downs cycled. I.E, could I use it as a down and turn it on/off that way rather than building it into the macro or would it not check at least once a second?
/if (${Target.PctHPs}>80 && ${CastTimeRemaining}<1s) /stopcast
Something along the lines above, but I can't figure out the syntax for the 2nd part relating to cast time remaining. Can't get anything to return a value as an /echo. For the macro in question the only thing it does is heal, so no buffs or nukes etc would be effected by the stopcast.
Also as a further question. How often are holy/downs cycled. I.E, could I use it as a down and turn it on/off that way rather than building it into the macro or would it not check at least once a second?

