(fix) BT2: Hostility Check
This commit is contained in:
parent
a6beb4cc34
commit
b1ce30d91c
1 changed files with 4 additions and 0 deletions
|
|
@ -1038,6 +1038,10 @@ local function TriggerInfoApplies(triggerInfo, unit)
|
|||
return false
|
||||
end
|
||||
|
||||
if triggerInfo.hostility and WeakAuras.GetPlayerReaction(unit) ~= triggerInfo.hostility then
|
||||
return false
|
||||
end
|
||||
|
||||
if triggerInfo.unit == "group" then
|
||||
local isPet = WeakAuras.UnitIsPet(unit)
|
||||
if triggerInfo.includePets == "PetsOnly" and not isPet then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue