from retail

This commit is contained in:
NoM0Re
2025-01-16 16:44:32 +01:00
parent c080aa96d5
commit c133385b44
7 changed files with 37 additions and 19 deletions
+9 -10
View File
@@ -7010,17 +7010,10 @@ Private.event_prototypes = {
tinsert(events, "RAID_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 then
if trigger.use_instance_difficulty ~= 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 {
@@ -7038,6 +7031,12 @@ Private.event_prototypes = {
tinsert(events, "PLAYER_MOVE_SPEED_UPDATE");
end
if trigger.use_instance_difficulty ~= 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