Closed calummitchell closed 1 week ago
That's entirely expected. The dynamic information chooses which trigger provides the clone id selection, and other triggers's states are matched to that. If another trigger does not provide information with the same state id, then there's no information.
Is there an existing issue for this?
Description
I expect aura_env.states to have a non-nil entry for each active trigger. Instead if one of the active triggers uses the Clone per Event option it's aura_env.states entry is nil if dynamic information comes from another trigger.
WeakAuras Version
WeakAuras 5.17.1
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
EU
Tested with only WeakAuras
I got this issue with only WeakAuras enabled
Lua Error
No response
Reproduction Steps
The example I provided which reproduces the problem has: Triggers All triggers are required for activation Dynamic information from trigger 1 1 Always active trigger 2 Combat Log cast start Hearthstone with [x] Clone per event Conditions 1 Set text color to red if trigger 2 is active Actions On Show custom action adds aura_env to DevTool
While casting Hearthstone the text is shown in white but it should be red. Triggers 1 and 2 are both active but Condition 1 thinks trigger 2 is not. Looking at aura_env in DevTool also shows aura_env.states[2] is nil.
If you make any of the following changes this problem goes away: Remove Clone per event option from Trigger 2 Get Dynamic information from Trigger 2 Get Dynamic information from first active trigger and swap the positions of triggers 1 and 2
Last Good Version
No response
Screenshots
No response
Export String
Bisector Report
No response