WeakAuras

WeakAuras

206M Downloads

Dynamic (event-based) conditions are not updated if dynamic information trigger is inactive

Mitalie opened this issue ยท 1 comments

commented

Describe the bug

If an aura's dynamic information is set to come from a specific trigger, and that trigger can sometimes be inactive even when the aura is showing, some conditions (from another trigger) such as Insufficient Resources don't get updated.

To Reproduce

!WA:2!fw16YTTXv4HbXJTXKPrKYwtKBQdTNjEsCRCTKJutM0uxbzsl5sjsdczz3MgXfaljwlqa4DbOevZnXMlA60lj09jGpc6rqpbNHth)a4(eu3(a0ZUaqH2D8u8dGDp7bNRFNVTW9kjIkEJRD9RT4CZV0CDEVfN)9NV9nk1TKBj3dFZX2eNDC5HrRe6hYVJMMwdnu1NAhYDPCJSdJMYWNT)(eUBzRWq)yweFV6TBlOXfSt10J3ptWrKahVqEJqwqS9kv2WQI5OuDAY2NEQJsxN6UcfkOz7eg0M1r3u4q8PACItmlmqSKPiMWJ1TBZcycpDd8tS(GyoRthkxCHRWZw(nJCP2jTBB1pIYxTsTgv3SMrmUXKKWjlmqer99xZvO)urInThniUjQnBVJ2ELLBATDtRLnTmdiDPtOrdof1WSzJk1QzQKyVkL4h7zKGrHDKpPpLpmjile0ZsWkUDOrfB(OecNwUAIVF5T8yX0NHvckpG4FpmWXCB9rCAh8RmIn7WdtIgkO(TvvSrg1TSQVETkvTUmZnQuxsablqUmzrzoxA3WHKawxIC7sWRx9ykrqBgZPbDI9onmJrqyaDSlM5sn2wwh4cQ0cIbsvL(eMZOlHfuf(z4paZbxd(5W1XVt9IsoQnhRlO1jXeTNL2xRkfjTIDZvmRuzJXKKyuC9ivxtpR9Uwacf0ooDtkW4SJWQRPkXf6lKWCpQZQ7VgxyzT288rNKJcDd)qI7sgyFZzgZUjiAt30XNieZa)kDdbcIKlgfh60lTE(gf2(7l5C1dVeCQx7vGtxaodC2Xoio1nC3GM7YIOTooFRSf5b)iS0PdtPdf1HsFYvGPFcmJnI3Itepnrq3M4VlPViMNqBXtcuaadmpdtp0weYTxp0L2cU4OvojWHF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b9H9H)W5HpTa8zP)8EfGVWdoqd(snyqr4p6bF1ldGcFDwVsbHwqd(thaFR3ZbdV0lfgEswHySVrbUrqy8VGUzS)98U7MvrGp8N9KWVtTSebc)fj6d(RWFd(on47FP4kyi8y4V7bhwOuV)X9)V)

Cast Spellsteal (or another spell that spends a resource faster than it regenerates - change the spell in trigger 2) until you can't cast it anymore. Both auras have a condition that should tint the display blue, but the right-side one doesn't change.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

Yes

Which version of WeakAuras are you using?

3.0.5-16-g45181f3

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail

Was it working in a previous version? If yes, which was the last good one?

No

Additional Info

local activeTriggerState = WeakAuras.GetTriggerStateForTrigger(id, Private.ActiveTrigger(uid));
for cloneId, state in pairs(activeTriggerState) do
local region = WeakAuras.GetRegion(id, cloneId);
checkConditions[uid](region, false);
end
If I understand correctly, Private.ActiveTrigger returns the trigger that should supply dynamic information. If that trigger is inactive, there are no states to loop over. Perhaps it could instead use the states for the trigger that the condition belongs to? Or, considering that the state itself isn't actually passed to the function, simply use all clone regions or the one region of a non-cloning aura?

commented

Fixed by 9545e8a