Skip to content

Commit b0b025e

Browse files
Added wake up ping for Angleur_Underlight, the plugin addon to Angleur
1 parent 58f4604 commit b0b025e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Angleur.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ local colorDebug = CreateColor(0.24, 0.76, 1) -- angleur blue
33

44
local helpTipCloseText = "|cnHIGHLIGHT_FONT_COLOR:The |r|cnNORMAL_FONT_COLOR:Interact Key|r|cnHIGHLIGHT_FONT_COLOR: allows you to interact with NPCs and objects using a keypress|n|n|r|cnRED_FONT_COLOR:Assign an Interact Key binding under Control options|r"
55

6+
local undangLoaded = false
7+
68
local function SetOverrideBinding_Custom(owner, isPriority, key, command)
79
if not key then return end
810
SetOverrideBinding(owner, isPriority, key, command)
@@ -83,6 +85,8 @@ function Angleur_EventLoader(self, event, unit, ...)
8385
end
8486
end
8587
end
88+
--Check if the Plugin Addon Angleur_Underlight is loaded
89+
undangLoaded = C_AddOns.IsAddOnLoaded("Angleur_Underlight")
8690
if AngleurConfig.ultraFocusingAudio then Angleur_UltraFocusAudio(false) end
8791
if AngleurConfig.ultraFocusingAutoLoot then Angleur_UltraFocusAutoLoot(false) end
8892
Init_AngleurSavedVariables()
@@ -567,6 +571,7 @@ function Angleur_FishingForAttentionAura()
567571
end
568572
end
569573

574+
570575
function Angleur_SetSleep()
571576
if AngleurCharacter.sleeping == true then
572577
--no need to do combat delay, angleur clears override bindings when entering combat anyway
@@ -593,6 +598,10 @@ function Angleur_SetSleep()
593598
if AngleurConfig.ultraFocusAudioEnabled == true then
594599
Angleur_UltraFocusBackground(true)
595600
end
601+
-- Angleur's Plugin Addon, Angleur_Underlight
602+
if undangLoaded then
603+
AngleurUnderlight_AngleurWakeUpPing()
604+
end
596605
end
597606
Angleur_SetMinimapSleep()
598607
end

0 commit comments

Comments
 (0)