WeakAuras

WeakAuras

200M Downloads

[WotLK] Unit Hostility not activating on targeted party members out of range.

Kolmarwow opened this issue ยท 1 comments

commented

Description

In Player/Unit Info -> Unit Characteristics, you can specify unit hostility. If you set Unit to "Target" and Hostility to "Friendly" and then group up with someone far away and target them, the weakaura won't activate.
I assumed this might be a blizzard limitation but it is not, a custom trigger with UnitIsFriend("player","target") works fine. I tested some of the other options in Unit Characteristics (Class/Raid Mark/Character Type/Level/Attackable/Afk) and they also worked fine in this situation, it seems to just be Hostility specifically.

WeakAuras Version

WeakAuras 5.3.7

World of Warcraft Flavor

Wrath of the Lich King Classic

Tested with only WeakAuras

  • Yes
  • No

Lua Error

No response

Reproduction Steps

  1. Make a WA with Player/Unit Info -> Unit Characteristics -> Unit = Target & Hostility = Friendly
  2. Group up with someone at least 1 zone away
  3. Target the group member and see that the WA is not activating

Last Good Version

No response

Screenshots

No response

Export String

No response

commented

We use UnitReaction which apparently is limited to players in visibility range. We use that because iirc, we want to match nameplates behaviour on what is considered a friend or not. And I'd rather like to keep it that way as this is a minor limitation.