SHOW:
|
|
- or go back to the newest paste.
| 1 | - | function(event, timestamp, message, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...) |
| 1 | + | function(_, _, message, _, _, sourceName, _, _, _, _, _, _, ...) |
| 2 | - | if message == "SPELL_CAST_SUCCESS" then |
| 2 | + | if message == "SPELL_CAST_SUCCESS" then |
| 3 | - | local spellId, spellName, spellSchool = 187614 |
| 3 | + | local s = select(2, ...); |
| 4 | - | if spellName == "Thorasus" then |
| 4 | + | if s == "Thorasus" or s == "Maalus" or s == "Nithramus" then |
| 5 | - | name = sourceName |
| 5 | + | aura_env.source = sourceName; |
| 6 | - | return true |
| 6 | + | return true; |
| 7 | end | |
| 8 | end | |
| 9 | end | |
| 10 | ||
| 11 | function() | |
| 12 | - | return name |
| 12 | + | return aura_env.source or ""; |
| 13 | end |