Skip to content

Commit

Permalink
[RG] Added alert about cone direction at Bahsei HM encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Dec 16, 2023
1 parent a23478c commit 9966dec
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,10 @@ rockgrove.meteor_radiating_heat = {
}
-- Flame-Herald Bahsei's Death Touch debuff (caused by Embrace of Death mech)
rockgrove.bahsei_death_touch = 150078
-- Creeping Eye effect on Flame-Herald Bahsei's fight that indicated clockwise cone direction
rockgrove.bahsei_creeping_eye_clockwise = 153517
-- Creeping Eye effect on Flame-Herald Bahsei's fight that indicated counterclockwise cone direction
rockgrove.bahsei_creeping_eye_countercw = 153518

RaidNotifier.BuffsDebuffs[RAID_ROCKGROVE] = rockgrove

Expand Down
6 changes: 6 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ do ------------------
oaxiltso_noxious_sludge = 0, -- "Off"
oaxiltso_annihilator_cinder_cleave = 0, -- "Off"
bahsei_embrace_of_death = 0, -- "Off"
bahsei_cone_direction = false,
},
dreadsailReef = {
dome_type = 3, -- "All"
Expand Down Expand Up @@ -1740,6 +1741,11 @@ function RaidNotifier:CreateSettingsMenu()
choices = choices.rockgrove.bahsei_embrace_of_death,
choicesTooltips = { false, false, L.Settings_Rockgrove_Embrace_Of_Death_TT_All },
}, "rockgrove", "bahsei_embrace_of_death")
MakeControlEntry({
type = "checkbox",
name = L.Settings_Rockgrove_Bahsei_Cone_Direction,
tooltip = L.Settings_Rockgrove_Bahsei_Cone_Direction_TT,
}, "rockgrove", "bahsei_cone_direction")
subTable = nil --end submenu

-- Dreadsail Reef
Expand Down
14 changes: 14 additions & 0 deletions TrialRockgrove.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ function RaidNotifier.RG.OnCombatEvent(_, result, isError, aName, aGraphic, aAct
self:AddAnnouncement(zo_strformat(GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_CINDER_CLEAVE_OTHER), tName), "rockgrove", "oaxiltso_annihilator_cinder_cleave")
end
end
elseif (result == ACTION_RESULT_EFFECT_GAINED) then
if (abilityId == buffsDebuffs.bahsei_creeping_eye_clockwise or abilityId == buffsDebuffs.bahsei_creeping_eye_countercw) then
if (settings.bahsei_cone_direction) then
local text

if (abilityId == buffsDebuffs.bahsei_creeping_eye_clockwise) then
text = GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_BAHSEI_CONE_DIRECTION_CLOCKWISE)
else
text = GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_BAHSEI_CONE_DIRECTION_COUNTERCW)
end

self:AddAnnouncement(text, "rockgrove", "bahsei_cone_direction")
end
end
elseif (result == ACTION_RESULT_EFFECT_FADED) then
-- Sul-Xan Soulweaver's Soul Remnant attack (his Astral Shield is broken)
if (abilityId == buffsDebuffs.sulxan_soulweaver_astral_shield_self) then
Expand Down
4 changes: 4 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,8 @@ L.Settings_Rockgrove_Cinder_Cleave_TT = "Alerts you when Havocrel A
L.Settings_Rockgrove_Embrace_Of_Death = "Flame-Herald Bahsei: Embrace of Death"
L.Settings_Rockgrove_Embrace_Of_Death_TT = "Alerts you when someone got cursed by Flame-Herald Bahsei. That person will explode after 8 seconds, spreading the curse. It's important to keep cursed player separated from the group."
L.Settings_Rockgrove_Embrace_Of_Death_TT_All = "|cFF0000WARNING!|r If your group will get too much curses your screen may be fully covered in countdowns for a duration of those curses! We're working on ways to improve this notification."
L.Settings_Rockgrove_Bahsei_Cone_Direction = "Flame-Herald Bahsei HM: Cone direction"
L.Settings_Rockgrove_Bahsei_Cone_Direction_TT = "Alerts you of the cone direction if the portal opened."

-- Alerts
L.Alerts_Rockgrove_Sundering_Strike = "Incoming |cCDCDCDSundering Strike|r on you!"
Expand All @@ -629,6 +631,8 @@ L.Alerts_Rockgrove_Cinder_Cleave = "|cD74700Cinder Cleave|r on
L.Alerts_Rockgrove_Cinder_Cleave_Other = "|cD74700Cinder Cleave|r on |cFF0000<<!aC:1>>|r."
L.Alerts_Rockgrove_Embrace_Of_Death = "You're cursed by |c0A929BEmbrace of Death|r! Stay away! Explosion in"
L.Alerts_Rockgrove_Embrace_Of_Death_Other = "|cFF0000<<!aC:1>>|r cursed by |c0A929BEmbrace of Death|r! Explosion in"
L.Alerts_Rockgrove_Bahsei_Cone_Direction_Clockwise = "-> Move |cF48020clockwise|r ->"
L.Alerts_Rockgrove_Bahsei_Cone_Direction_CounterCW = "<- Move |c15FFC2counterclockwise|r <-"


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

0 comments on commit 9966dec

Please sign in to comment.