My goal is to activate a trigger when the cooldown of Rapid Fire is reset via the talent Surging Shots (see image).
There are several traits like this, but the image is one example. (Pyromaniac, Inspiring Vanguard, etc). These are the 4 things I've tried. Not including any else and ends in code for length's sake.
1. Tracking buff ID 391559. It does not apply a buff to track.
2. This trigger. I've confirmed this returns a string as spellName and works with regular auras.
--Event: CLEU:SPELL_AURA_APPLIED
function(event, _,_,_,_,_,_,_,_,_,_,_,_,spellName)
if spellName == "Surging Shots" then
return true```
**3.** This trigger. I've confirmed this returns the spellID as an int, and works with regular spells.
```lua
--Event: UNIT_SPELLCAST_SUCCEEDED
function(event, unitTarget, castGUID, spellID)
if spellID == 391559 then
return true```
**4.** Digging through EventTracker turned up no results for the talent name, SpellID, or anything identifiable.