Hi, I've created a simple text WA that shows my current spell power value via calling GetSpellBonusDamage(6) function. This was easy if the check was set to update every frame but I realized this was not very efficient so decided to use a custom trigger that would hook on SPELL_POWER_CHANGED event instead, define a custom trigger returning true and leaving everything else default.
The problem I've hit though was that the value was not updating. After a couple of hours of try/error I've got it working by defining a function in Duration Info field that returns bogus, but valid timing info.
Now I've checked the github wiki for custom triggers and it says nothing about Duration Info being a mandatory thing. After all I don't actually need a duration to be passed into the text WA as I only need the value.
So my question here is if the Duration Info function needs always be specified for custom trigger or if there's a better/simpler way of doing a custom trigger firing on an specific event.