#untrigger on casting of a spell

12 messages · Page 1 of 1 (latest)

small void
#

!COMBAT_LOG

regal phoenixBOT
#
Wowpedia

Fires for Combat Log events such as a player casting a spell or an NPC taking damage.

COMBAT_LOG_EVENT only reflects the filtered events in the combat log window
COMBAT_LOG_EVENT_UNFILTERED (CLEU) is unfiltered, making it preferred for use by addons.
Both events have identical parameters. The event payload is returned from CombatLogGetCurrentEv...

fossil patrol
#

kinda need one for this area

#

lemme read

#

or do you perhaps have an example?

small void
#

take the CLEU:SPELL_CAST_SUCCESS event and untrigger when the sourceGUID is == UnitGUID("player") and spellId is == the spell that you want to untrigger on

fossil patrol
#

thanks a ton, love you

dapper basin
#

There is a built in trigger for casting you don't need a custom trigger for that

small void
fossil patrol
#
function(event, timestamp, subEvent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)
    if sourceGUID == UnitGUID("player") and (spellId == 188443 or spellID == 188196) then
        return true
    end
end
#

tx guise