Skip to content

Commit

Permalink
[KA] Added Chaurus Bite projectile announcements at Yandir boss
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Nov 8, 2021
1 parent b2c8191 commit 2470270
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ kynes_aegis.yandir_harpy_totem_spawn = 133511
kynes_aegis.yandir_gargoyle_totem_spawn = 133514
-- Chaurus Totem spawn at Yandir the Butcher boss
kynes_aegis.yandir_chaurus_totem_spawn = 133516
-- Chaurus Bile, projectile from Chaurus Totem at Yandir the Butcher boss
kynes_aegis.yandir_chaurus_bile = 133559

RaidNotifier.BuffsDebuffs[RAID_KYNES_AEGIS] = kynes_aegis

Expand Down
8 changes: 8 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ do ------------------
bitter_knight_sanguine_prison = false,
bloodknight_blood_fountain = false,
yandir_totem_spawn = 0, -- "Off"
yandir_chaurus_bile = 0, -- "Off"
},
rockgrove = {
sulxan_reaver_sundering_strike = 0, -- "Off"
Expand Down Expand Up @@ -551,6 +552,7 @@ function RaidNotifier:CreateSettingsMenu()
L.Settings_General_Choices_OnlyChaurusTotem,
L.Settings_General_Choices_All,
},
yandir_chaurus_bile = off_self_all,
},
rockgrove = {
sulxan_reaver_sundering_strike = off_self_all,
Expand Down Expand Up @@ -1615,6 +1617,12 @@ function RaidNotifier:CreateSettingsMenu()
tooltip = L.Settings_KynesAegis_Totem_TT,
choices = choices.kynesAegis.yandir_totem_spawn,
}, "kynesAegis", "yandir_totem_spawn")
MakeControlEntry({
type = "dropdown",
name = L.Settings_KynesAegis_Chaurus_Bile,
tooltip = L.Settings_KynesAegis_Chaurus_Bile_TT,
choices = choices.kynesAegis.yandir_chaurus_bile,
}, "kynesAegis", "yandir_chaurus_bile")
subTable = nil --end submenu

-- Rockgrove
Expand Down
10 changes: 10 additions & 0 deletions TrialKynesAegis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,15 @@ function RaidNotifier.KA.OnCombatEvent(_, result, isError, aName, aGraphic, aAct
self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_CHAURUS_TOTEM), "kynesAegis", "yandir_totem_spawn")
end
end
-- Chaurus Bile projectile from Chaurus Totem at Yandir the Butcher boss
if (abilityId == buffsDebuffs.yandir_chaurus_bile) then
if (settings.yandir_chaurus_bile >= 1) then
if (tType == COMBAT_UNIT_TYPE_PLAYER) then
self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_CHAURUS_BILE_SELF), "kynesAegis", "yandir_chaurus_bile")
elseif (settings.yandir_chaurus_bile == 2) then
self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_CHAURUS_BILE_COMMON), "kynesAegis", "yandir_chaurus_bile", 2)
end
end
end
end
end
4 changes: 4 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ 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_Totem = "Yandir: Totems spawn"
L.Settings_KynesAegis_Totem_TT = "Alerts you when certain totem appeared during the battle with Yandir the Butcher boss.\n\nDragon Totems: always two appears at the same time; each one blows out fire along a straight line in two opposite directions.\nHarpy Totem: spawns a lightning aura that will radiate out.\nGargoyle totem: encases random players into stone.\nChaurus Totem: poisons several people, and this poison should not be spread to others, that's why you should not stack at this phase."
L.Settings_KynesAegis_Chaurus_Bile = "Yandir: Chaurus Bile"
L.Settings_KynesAegis_Chaurus_Bile_TT = "Alerts you when Chaurus Totem launch Chaurus Bile projectiles towards random group members. This projectile can be dodged."

-- Alerts
L.Alerts_KynesAegis_Crashing_Wall = "|cd2a100Crashing Wall|r in"
Expand All @@ -570,6 +572,8 @@ L.Alerts_KynesAegis_Dragon_Totem = "Two |cffa500Dragon Totems
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!"
L.Alerts_KynesAegis_Chaurus_Bile_Self = "|c39942eChaurus Bile|r incoming at you. Dodge!"
L.Alerts_KynesAegis_Chaurus_Bile_Common = "|c39942eChaurus Bile|r incoming!"


--------------------------------
Expand Down

0 comments on commit 2470270

Please sign in to comment.