Skip to content

Commit

Permalink
[DSR] Added Dome activation alert at the Lylanar&Turlassil encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Aug 13, 2022
1 parent 9ebd003 commit 802b78b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ dreadsail_reef.turlassil_imminent_chill = 168526
dreadsail_reef.lylanar_broiling_hew = 167273
-- Turlassil's Heavy Attack
dreadsail_reef.turlassil_stinging_shear = 167280
-- Destructive Ember (Fire Dome)
dreadsail_reef.destructive_ember = 166209
-- Piercing Hailstone (Ice Dome)
dreadsail_reef.piercing_hailstone = 166178
-- Reef Guardian's cast on Reef Heart
dreadsail_reef.reef_guardian_heartburn = 163692
-- Tideborn Taleria's Rapid Deluge
Expand Down
6 changes: 6 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ do ------------------
bahsei_embrace_of_death = 0, -- "Off"
},
dreadsailReef = {
dome_activation = false,
imminent_debuffs = false,
brothers_heavy_attack = 0, -- "Off"
reef_guardian_reef_heart = false,
Expand Down Expand Up @@ -1721,6 +1722,11 @@ function RaidNotifier:CreateSettingsMenu()

-- Dreadsail Reef
MakeSubmenu(L.Settings_DreadsailReef_Header, RaidNotifier:GetRaidDescription(RAID_DREADSAIL_REEF))
MakeControlEntry({
type = "checkbox",
name = L.Settings_DreadsailReef_Dome_Activation,
tooltip = L.Settings_DreadsailReef_Dome_Activation_TT,
}, "dreadsailReef", "dome_activation")
MakeControlEntry({
type = "checkbox",
name = L.Settings_DreadsailReef_Imminent_Debuffs,
Expand Down
16 changes: 16 additions & 0 deletions TrialDreadsailReef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,21 @@ function RaidNotifier.DSR.OnCombatEvent(_, result, isError, aName, aGraphic, aAc
self:StartCountdown(hitValue, zo_strformat(GetString(RAIDNOTIFIER_ALERTS_DREADSAILREEF_RAPID_DELUGE_OTHER), tName), "dreadsailReef", "taleria_rapid_deluge", true)
end
end
elseif (result == ACTION_RESULT_EFFECT_GAINED) then
-- Player activated Fire Dome at the Lylanar&Turlassil encounter
if (abilityId == buffsDebuffs.destructive_ember and settings.dome_activation and tName ~= "") then
self:AddAnnouncement(
zo_strformat(GetString(RAIDNOTIFIER_ALERTS_DREADSAILREEF_DESTRUCTIVE_EMBER), tName),
"dreadsailReef",
"dome_activation"
)
-- Player activated Ice Dome at the Lylanar&Turlassil encounter
elseif (abilityId == buffsDebuffs.piercing_hailstone and settings.dome_activation and tName ~= "") then
self:AddAnnouncement(
zo_strformat(GetString(RAIDNOTIFIER_ALERTS_DREADSAILREEF_PIERCING_HAILSTONE), tName),
"dreadsailReef",
"dome_activation"
)
end
end
end
4 changes: 4 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ L.Alerts_Rockgrove_Embrace_Of_Death_Other = "|cFF0000<<!aC:1>>|r cursed
--------------------------------
L.Settings_DreadsailReef_Header = "Dreadsail Reef"
-- Settings
L.Settings_DreadsailReef_Dome_Activation = "Lylanar & Turlassil: Fire/Ice Dome activation"
L.Settings_DreadsailReef_Dome_Activation_TT = "Alerts you when someone gets Fire or Ice Dome."
L.Settings_DreadsailReef_Imminent_Debuffs = "Lylanar & Turlassil: Imminent Blister/Chill"
L.Settings_DreadsailReef_Imminent_Debuffs_TT = "Alerts you when tank receives Imminent Blister debuff from Lylanar or Imminent Chill debuff from Turlassil. Tanks should swap in 10 seconds."
L.Settings_DreadsailReef_Brothers_Heavy_Attack = "Lylanar & Turlassil: Heavy attack"
Expand All @@ -640,6 +642,8 @@ L.Settings_DreadsailReef_Rapid_Deluge = "Taleria: Rapid Deluge"
L.Settings_DreadsailReef_Rapid_Deluge_TT = "Alerts you when you or someone got Rapid Deluge debuff. They'll explode in 6 seconds, and the best option to handle the damage is to be swimming at that time."

-- Alerts
L.Alerts_DreadsailReef_Destructive_Ember = "<<!aC:1>> activated |cFFA500Fire Dome|r!"
L.Alerts_DreadsailReef_Piercing_Hailstone = "<<!aC:1>> activated |c20C3D0Ice Dome|r!"
L.Alerts_DreadsailReef_Imminent_Blister = "You're afflicted by |cF27D0CImminent Blister|r! Swap tanks until"
L.Alerts_DreadsailReef_Imminent_Blister_Other = "|cFF0000<<!aC:1>>|r afflicted by |cF27D0CImminent Blister|r! Swap tanks until"
L.Alerts_DreadsailReef_Imminent_Chill = "You're afflicted by |cB4CFFAImminent Chill|r! Swap tanks until"
Expand Down

0 comments on commit 802b78b

Please sign in to comment.