Hi - I've been trying to get my shaman to do debuffall correctly with slow. However, it seems that the result of Macro.Return during the conditional checks always returns CAST_SUCCESS. I have never seen any messages other than the success one, and when I put in the print Macro.Result there and manually interrupt the casting it still prints and says CAST_SUCCESS
Any idea why this is happening? I tried this with both Time's Antithesis (clickie) and Turgur's Insects (spell). Same result both times.
Code:
| Conditional Check Added.
/if (${ConOn} && ${DPS[${i}].Find[|cond]} && ${If[${Cond[${DPS[${i}].Mid[${Math.Calc[${DPS[${i}].Find[|cond]}+5]},3]}]},0,1]}) /break
| Everything is ready, lets debuff this mob
/call CastWhat "${DebuffText}" ${DebuffTargetID} DebuffCast 0 0
DEBUGCOMBAT DebuffCast: Return From CastWhat: ${Macro.Return}
/if (${Macro.Return.Equal[CAST_RESISTED]}) {
/echo ** ${DebuffText} on >> ${Spawn[${DebuffTargetID}].CleanName} << - RESISTED
} else /if (${Macro.Return.Equal[CAST_INTERRUPTED]}) {
/echo ** ${DebuffText} on >> ${Spawn[${DebuffTargetID}].CleanName} << - INTERRUPTED
} else /if (${Macro.Return.Equal[CAST_TAKEHOLD]}) {
/echo ** ${DebuffText} on >> ${Spawn[${DebuffTargetID}].CleanName} << - DID NOT TAKE HOLD
/varset TempTimer 3m
} else /if (${Macro.Return.Equal[CAST_IMMUNE]}) {
/echo ** ${Spawn[${DebuffTargetID}].CleanName} is IMMUNE to - ${DebuffText}
/if (!${DBOList${i}.Find[|${DebuffTargetID}]}) /varset DBOList${i} ${DBOList${i}}|${DebuffTargetID}
/varset TempTimer 3m
} else /if (${Macro.Return.Equal[CAST_SUCCESS]}) {
/echo ** Debuffing: ${Macro.Return} ==> ${DebuffText} on >> ${Spawn[${DebuffTargetID}].CleanName} << DebuffTargetID: ${DebuffTargetID} Target: ${Target.ID} DBOList: ${DBOList${i}}
Any idea why this is happening? I tried this with both Time's Antithesis (clickie) and Turgur's Insects (spell). Same result both times.


