this:RegisterEvent("SPELLCAST_FAILED");
this:RegisterEvent("SPELLCAST_INTERRUPTED");
this:RegisterEvent("SPELLCAST_STOP");
this:RegisterEvent("PLAYER_ENTER_COMBAT");
this:RegisterEvent("PLAYER_LEAVE_COMBAT");
CT_RADebuff_GetActionButtonCures();
if ( event == "SPELLCAST_FAILED" ) then
if ( CT_RADebuff_CastingSpell ) then
CT_RADebuff_Blacklist[CT_RADebuff_CastingSpell] = CT_RADebuff_BlacklistTime;
end
elseif ( event == "SPELLCAST_INTERRUPTED" ) then
CT_RADebuff_GlobalCD = nil;
elseif ( event == "SPELLCAST_STOP" ) then
CT_RADebuff_CastingSpell = nil;
elseif ( event == "PLAYER_ENTER_COMBAT" ) then
CT_RADebuff_InCombat = 1;
elseif ( event == "PLAYER_LEAVE_COMBAT" ) then
CT_RADebuff_InCombat = nil;
end
CT_RADebuff_ProcessBlacklist(arg1);