SHOW:
|
|
- or go back to the newest paste.
| 1 | - | function(_, _, message, _, _, sourceName, _, _, _, _, _, _, ...) |
| 1 | + | function(_, _, message, _, _, sourceName, sourceFlags, _, _, _, _, _, ...) |
| 2 | - | if message == "SPELL_CAST_SUCCESS" then |
| 2 | + | if message == "SPELL_CAST_SUCCESS" and bit.band(sourceFlags, COMBATLOG_OBJECT_AFFILIATION_RAID) > 0 then |
| 3 | local s = select(2, ...); | |
| 4 | if s == "Thorasus" or s == "Maalus" or s == "Nithramus" then | |
| 5 | aura_env.source = sourceName; | |
| 6 | return true; | |
| 7 | end | |
| 8 | end | |
| 9 | end | |
| 10 | ||
| 11 | function() | |
| 12 | return aura_env.source or ""; | |
| 13 | end |