WeakAuras

WeakAuras

206M Downloads

Condition "Destination Unit" doesnt work on classic

Lupe4js opened this issue · 3 comments

commented

When using the condition "Destination Unit" = player or != player, the condition is never true.

image

WA v2.16.6
wow Classic

commented

Project was to whisper the innervate target ("Ïnnervate on you!"), but I had to add a condition to not send a whisper to myself when using innervate on me.

trigger : Event > Combatlog > Successfull cast https://cdn.discordapp.com/attachments/218087027042811905/688002846670716993/unknown.png

action: Announce in /group /raid that innervate was used
https://cdn.discordapp.com/attachments/218087027042811905/688002945903624253/unknown.png

condition: check if innerv target is someone different from player and whisper him
https://cdn.discordapp.com/attachments/218087027042811905/688003046336495619/unknown.png

WA string:
innervate_WA.txt

commented

I use this workaround (as suggested by asakawa) :

if aura_env.state.destName ~= GetUnitName("player") then
    SendChatMessage("> Innervate on you!", "WHISPER", nil, aura_env.state.destName)
end
commented

Can you give an export of the aura you use to test this and step by step how to reproduce ?