Skip to content

Commit

Permalink
[KA] Added Dragon, Harpy and Gargoyle Totem alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Mar 28, 2021
1 parent ecbce21 commit 40526c2
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
18 changes: 18 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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,
Expand Down
19 changes: 19 additions & 0 deletions TrialKynesAegis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -558,13 +558,22 @@ 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."

-- Alerts
L.Alerts_KynesAegis_Crashing_Wall = "|cd2a100Crashing Wall|r in"
L.Alerts_KynesAegis_Sanguine_Prison_Other = "|cff0000<<!aC:1>>|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!"


Expand Down

0 comments on commit 40526c2

Please sign in to comment.