diff --git a/BuffsDebuffs.lua b/BuffsDebuffs.lua index db40c5b..56a4d9d 100644 --- a/BuffsDebuffs.lua +++ b/BuffsDebuffs.lua @@ -589,6 +589,12 @@ kynes_aegis.tidebreaker_crashing_wall = 134196 kynes_aegis.bitter_knight_sanguine_prison = 132473 -- Bloodknight's Blood Fountain kynes_aegis.bloodknight_blood_fountain = 140294 +-- Dragon Totem spawn at Yandir the Butcher boss +kynes_aegis.yandir_dragon_totem_spawn = 133264 +-- Harpy Totem spawn at Yandir the Butcher boss +kynes_aegis.yandir_harpy_totem_spawn = 133511 +-- Gargoyle Totem spawn at Yandir the Butcher boss +kynes_aegis.yandir_gargoyle_totem_spawn = 133514 -- Chaurus Totem spawn at Yandir the Butcher boss kynes_aegis.yandir_chaurus_totem_spawn = 133516 diff --git a/Settings.lua b/Settings.lua index 617583b..d842b6d 100644 --- a/Settings.lua +++ b/Settings.lua @@ -298,6 +298,9 @@ do ------------------ tidebreaker_crashing_wall = false, bitter_knight_sanguine_prison = false, bloodknight_blood_fountain = false, + yandir_dragon_totem_spawn = false, + yandir_harpy_totem_spawn = false, + yandir_gargoyle_totem_spawn = false, yandir_chaurus_totem_spawn = false, }, dbg = { @@ -1588,6 +1591,21 @@ function RaidNotifier:CreateSettingsMenu() name = L.Settings_KynesAegis_Blood_Fountain, tooltip = L.Settings_KynesAegis_Blood_Fountain_TT, }, "kynesAegis", "bloodknight_blood_fountain") + MakeControlEntry({ + type = "checkbox", + name = L.Settings_KynesAegis_Dragon_Totem, + tooltip = L.Settings_KynesAegis_Dragon_Totem_TT, + }, "kynesAegis", "yandir_dragon_totem_spawn") + MakeControlEntry({ + type = "checkbox", + name = L.Settings_KynesAegis_Harpy_Totem, + tooltip = L.Settings_KynesAegis_Harpy_Totem_TT, + }, "kynesAegis", "yandir_harpy_totem_spawn") + MakeControlEntry({ + type = "checkbox", + name = L.Settings_KynesAegis_Gargoyle_Totem, + tooltip = L.Settings_KynesAegis_Gargoyle_Totem_TT, + }, "kynesAegis", "yandir_gargoyle_totem_spawn") MakeControlEntry({ type = "checkbox", name = L.Settings_KynesAegis_Chaurus_Totem, diff --git a/TrialKynesAegis.lua b/TrialKynesAegis.lua index 2f580e2..fa9d154 100644 --- a/TrialKynesAegis.lua +++ b/TrialKynesAegis.lua @@ -46,6 +46,25 @@ function RaidNotifier.KA.OnCombatEvent(_, result, isError, aName, aGraphic, aAct end end end + -- Dragon Totems spawn at Yandir the Butcher boss + if (abilityId == buffsDebuffs.yandir_dragon_totem_spawn) then + if (settings.yandir_dragon_totem_spawn == true) then + -- Since two totems spawns at once we want to avoid extra announcements, so we're adding 2 sec alert suppression + self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_DRAGON_TOTEM), "kynesAegis", "yandir_dragon_totem_spawn", 2) + end + end + -- Harpy Totem spawn at Yandir the Butcher boss + if (abilityId == buffsDebuffs.yandir_harpy_totem_spawn) then + if (settings.yandir_harpy_totem_spawn == true) then + self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_HARPY_TOTEM), "kynesAegis", "yandir_harpy_totem_spawn") + end + end + -- Gargoyle Totem spawn at Yandir the Butcher boss + if (abilityId == buffsDebuffs.yandir_gargoyle_totem_spawn) then + if (settings.yandir_gargoyle_totem_spawn == true) then + self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_GARGOYLE_TOTEM), "kynesAegis", "yandir_gargoyle_totem_spawn") + end + end -- Chaurus Totem spawn at Yandir the Butcher boss if (abilityId == buffsDebuffs.yandir_chaurus_totem_spawn) then if (settings.yandir_chaurus_totem_spawn == true) then diff --git a/lang/en.lua b/lang/en.lua index f6af15b..24a15b7 100644 --- a/lang/en.lua +++ b/lang/en.lua @@ -558,6 +558,12 @@ L.Settings_KynesAegis_Sanguine_Prison = "General: Sanguine Prison" L.Settings_KynesAegis_Sanguine_Prison_TT = "Alerts you when your ally is trapped in Sanguine Prison casted by Bitter Knight. You need to free your ally by focusing down his prison." L.Settings_KynesAegis_Blood_Fountain = "General: Blood Fountain" L.Settings_KynesAegis_Blood_Fountain_TT = "Alerts you when Bloodknight starts his Blood Fountain attack, counting down until it is unleashed. It looks like cross-shaped AoE, and need to be avoided as it deals heavy damage." +L.Settings_KynesAegis_Dragon_Totem = "Yandir: Dragon Totems" +L.Settings_KynesAegis_Dragon_Totem_TT = "Alerts you when Dragon Totems appeared during the battle with Yandir the Butcher boss. Always two Dragon Totems appears at the same time. Each one blows out fire along a straight line in two opposite directions." +L.Settings_KynesAegis_Harpy_Totem = "Yandir: Harpy Totem" +L.Settings_KynesAegis_Harpy_Totem_TT = "Alerts you when Harpy Totem appeared during the battle with Yandir the Butcher boss. This totem spawns a lightning aura that will radiate out." +L.Settings_KynesAegis_Gargoyle_Totem = "Yandir: Gargoyle Totem" +L.Settings_KynesAegis_Gargoyle_Totem_TT = "Alerts you when Gargoyle Totem appeared during the battle with Yandir the Butcher boss. It encases random players into stone." L.Settings_KynesAegis_Chaurus_Totem = "Yandir: Chaurus Totem" L.Settings_KynesAegis_Chaurus_Totem_TT = "Alerts you when Chaurus Totem appeared during the battle with Yandir the Butcher boss. It poisons several people, and this poison should not be spread to others, that's why you should not stack at this phase." @@ -565,6 +571,9 @@ L.Settings_KynesAegis_Chaurus_Totem_TT = "Alerts you when Chaurus T L.Alerts_KynesAegis_Crashing_Wall = "|cd2a100Crashing Wall|r in" L.Alerts_KynesAegis_Sanguine_Prison_Other = "|cff0000<>|r trapped in |cb00000Sanguine Prison|r. Free him!" L.Alerts_KynesAegis_Blood_Fountain = "|cb00000Blood Fountain|r in" +L.Alerts_KynesAegis_Dragon_Totem = "Two |cffa500Dragon Totems|r spawned. Avoid the fire!" +L.Alerts_KynesAegis_Harpy_Totem = "|c00bfffHarpy Totem|r spawned." +L.Alerts_KynesAegis_Gargoyle_Totem = "|cf5f5dcGargoyle Totem|r spawned." L.Alerts_KynesAegis_Chaurus_Totem = "|c39942eChaurus Totem|r spawned. Don't stack!"