M33kTriggers
Addon to add more triggers to M33kAuras with the Midnight API by adding custom load/unload code in the Auras.
Install / Use
/learn @Spyroh/M33kTriggersREADME
M33kTriggers
Addon to add more triggers to M33kAuras with the Midnight API by adding custom load/unload code in the Auras.
An Addon for an Addon. 😜
Spell references
SpellIdentifier can be the name of the spell or the ID number.
SpellID must be the number.
Triggers. Use in Actions -> Custom functions -> Custom Load
M33kTriggers.ShowOnCdReady(aura_env, SpellIdentifier)
Shows the aura when a spell is off CD. If used with a spell with charges it will trigger when at least 1 charge is available.
M33kTriggers.ShowOnAllChargesReady(aura_env, SpellIdentifier)
Shows the aura when all the charges of a spell are available.
M33kTriggers.ShowOnSpellUsable(aura_env, SpellIdentifier)
Shows the aura when a spell is usable. For spells that have requirements for their activation like Rampage or Shadow Word: Madness.
M33kTriggers.ShowOnExecute(aura_env, SpellIdentifier, BelowHpPercent)
Shows the aura when an execute-type spell should be used (is off CD and the target's health is below a certain percentage).
M33kTriggers.ShowOnPowerPercent(aura_env, Percent)
Shows the aura when the player's power is higher than or equal to a certain percentage.
M33kTriggers.ShowOnPetHpUnderPercent(aura_env, BelowHpPercent)
Shows the aura when the health of your pet is below a certain percentage.
M33kTriggers.ShowOnProc(aura_env, SpellID)
Shows the aura when a proc is available. Requires having the proc added to the CDM.
M33kTriggers.ShowProcStacks(aura_env, SpellID)
Shows the stacks of a proc in a Text Aura when they are over 1. Requires having the proc added to the CDM Tracked Buffs.
Unload. Use in Actions -> Custom functions -> Custom Unload
if aura_env.UnLoad then aura_env.UnLoad() end
Example
Example use to show an Aura when Mind Blast is off CD

