ingame/centerscreenannounce/centerscreenannouncehandlers.lua:1829 -- messageParams:SetCustomAnimationTimeline(CENTER_SCREEN_ANNOUNCE:GetEndlessDungeonBuffAddedAnimationTimeline(), function(csaControl)
local startBeneathControl = csaControl
local endCenteredOnControl = not ZO_EndDunHUDTrackerContainerShowBuffTracker:IsHidden() and ZO_EndDunHUDTrackerContainerShowBuffTracker or nil
ZO_CenterScreenEndlessDungeonBuffAdded_Setup(abilityId, startBeneathControl, endCenteredOnControl)
-- Play the audio cue associated with this type of Endless Dungeon buff.
local abilityBuffType, isAvatarVision = GetAbilityEndlessDungeonBuffType(abilityId)
if abilityBuffType == ENDLESS_DUNGEON_BUFF_TYPE_VERSE then
PlaySound(SOUNDS.ENDLESS_DUNGEON_BUFF_ACQUIRE_VERSE)
elseif abilityBuffType == ENDLESS_DUNGEON_BUFF_TYPE_VISION then
if isAvatarVision then
PlaySound(SOUNDS.ENDLESS_DUNGEON_BUFF_ACQUIRE_AVATAR_VISION)
else
PlaySound(SOUNDS.ENDLESS_DUNGEON_BUFF_ACQUIRE_VISION)
end
end
end)