diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index e77e66bfb6..8734c2227a 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -9600,17 +9600,11 @@ Private.event_prototypes = { tinsert(events, "GROUP_ROSTER_UPDATE") end - if trigger.use_instance_size ~= nil then - tinsert(events, "ZONE_CHANGED") - tinsert(events, "ZONE_CHANGED_INDOORS") - tinsert(events, "ZONE_CHANGED_NEW_AREA") - end - - if trigger.use_instance_difficulty ~= nil or trigger.use_instance_type then + if trigger.use_instance_difficulty ~= nil + or trigger.use_instance_type ~= nil + or trigger.use_instance_size ~= nil + then tinsert(events, "PLAYER_DIFFICULTY_CHANGED") - tinsert(events, "ZONE_CHANGED") - tinsert(events, "ZONE_CHANGED_INDOORS") - tinsert(events, "ZONE_CHANGED_NEW_AREA") end return { @@ -9628,6 +9622,13 @@ Private.event_prototypes = { tinsert(events, "PLAYER_MOVING_UPDATE"); end + if trigger.use_instance_difficulty ~= nil + or trigger.use_instance_type ~= nil + or trigger.use_instance_size ~= nil + then + tinsert(events, "WA_DELAYED_PLAYER_ENTERING_WORLD") + end + if (trigger.use_HasPet ~= nil) then AddUnitChangeInternalEvents("pet", events) end