Slothpala / MouseoverActionSettings

World of Warcraft add-on that can hide and unhide UI frames based on a series of events.
https://www.curseforge.com/wow/addons/mouseover-action-settings-automtic-ui-fader
2 stars 2 forks source link

In Combat with Target attackable triggers together #10

Closed Carlosjrlu closed 2 weeks ago

Carlosjrlu commented 2 weeks ago

It seems that when using the In Combat and Target Attackable trigers together makes any HUD element stay visible after leaving combat with no target selected.

Here is me after leaving combat, image

Carlosjrlu commented 2 weeks ago

Changing the event delay timer to 0 and then back to 2 (default) solved the problem for me. Weird.

Slothpala commented 2 weeks ago

The problem was with the TargetAttackable trigger itself. It was recently added and had a logical flaw. The UnitCanAttack API call works differently than I expected. It should work as expected now.