Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(event, _, subevent, _, _, _, _, _, destGUID, _, _, _, spellID, spellName, _, auraType)
- local e = aura_env
- local reg = WeakAuras.regions[aura_env.id].region
- if not auraType or auraType ~= "DEBUFF" then return end
- for _, aoe_stuns in ipairs(e.aoe_stuns) do
- local id, dur = aoe_stuns[1], aoe_stuns[2]
- if id == spellID then
- if subevent == "SPELL_AURA_APPLIED" then
- e.icon = spellName
- e.dur = dur
- e.now = GetTime()
- if not e.mob_table[ destGUID ] then
- e.mob_table[ destGUID ] = true
- print(e.mob_table)
- e.mob_count = e.mob_count + 1
- end
- return true
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement