Skip to content

Commit

Permalink
[RG] Added Oaxiltso's Noxious Sludge announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Nov 8, 2021
1 parent ee79859 commit fd5c2bd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,8 @@ rockgrove.oaxiltso_savage_blitz = {
[149414] = true,
[157932] = true,
}
-- Oaxiltso's Noxious Sludge
rockgrove.oaxiltso_noxious_sludge = 157860
-- Radiating Heat (player gains this effect while Prime Meteor is present)
rockgrove.meteor_radiating_heat = {
[152462] = true, -- on trash
Expand Down
8 changes: 8 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ do ------------------
prime_meteor = false,
havocrel_barbarian_hasted_assault = false,
oaxiltso_savage_blitz = false,
oaxiltso_noxious_sludge = 0, -- "Off"
bahsei_embrace_of_death = 0, -- "Off"
},
dbg = {
Expand Down Expand Up @@ -553,6 +554,7 @@ function RaidNotifier:CreateSettingsMenu()
},
rockgrove = {
sulxan_reaver_sundering_strike = off_self_all,
oaxiltso_noxious_sludge = off_self_all,
bahsei_embrace_of_death = off_self_all,
},
}
Expand Down Expand Up @@ -1648,6 +1650,12 @@ function RaidNotifier:CreateSettingsMenu()
name = L.Settings_Rockgrove_Savage_Blitz,
tooltip = L.Settings_Rockgrove_Savage_Blitz_TT,
}, "rockgrove", "oaxiltso_savage_blitz")
MakeControlEntry({
type = "dropdown",
name = L.Settings_Rockgrove_Noxious_Sludge,
tooltip = L.Settings_Rockgrove_Noxious_Sludge_TT,
choices = choices.rockgrove.oaxiltso_noxious_sludge,
}, "rockgrove", "oaxiltso_noxious_sludge")
MakeControlEntry({
type = "dropdown",
name = L.Settings_Rockgrove_Embrace_Of_Death,
Expand Down
11 changes: 11 additions & 0 deletions TrialRockgrove.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ function RaidNotifier.RG.OnEffectChanged(eventCode, changeType, eSlot, eName, uT
end
end
end
-- Oaxiltso's Noxious Sludge
elseif (abilityId == buffsDebuffs.oaxiltso_noxious_sludge and string.sub(uTag, 1, 5) == "group") then
if (changeType == EFFECT_RESULT_GAINED) then
if (settings.oaxiltso_noxious_sludge >= 1 and AreUnitsEqual(uTag, "player")) then
self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_NOXIOUS_SLUDGE), "rockgrove", "oaxiltso_noxious_sludge")
elseif (settings.oaxiltso_noxious_sludge == 2) then
local targetPlayerName = self.UnitIdToString(uId)

self:AddAnnouncement(zo_strformat(GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_NOXIOUS_SLUDGE_OTHER), targetPlayerName), "rockgrove", "oaxiltso_noxious_sludge")
end
end
-- Flame-Herald Bahsei's Embrace of Death (Death Touch debuff)
elseif (abilityId == buffsDebuffs.bahsei_death_touch and string.sub(uTag, 1, 5) == "group") then
if (changeType == EFFECT_RESULT_GAINED) then
Expand Down
4 changes: 4 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,8 @@ L.Settings_Rockgrove_Hasted_Assault = "General: Hasted Assault"
L.Settings_Rockgrove_Hasted_Assault_TT = "Alerts you when the Havocrel Barbarian makes Hasted Assault attack. He teleports from player to player in random order and attacks them. This should be blocked."
L.Settings_Rockgrove_Savage_Blitz = "Oaxiltso: Savage Blitz"
L.Settings_Rockgrove_Savage_Blitz_TT = "Alerts you when the Oaxiltso charges at the furthest player."
L.Settings_Rockgrove_Noxious_Sludge = "Oaxiltso: Noxious Sludge"
L.Settings_Rockgrove_Noxious_Sludge_TT = "Alerts you when someone is poisoned by Oaxiltso and has to go cleanse in the pool."
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."

Expand All @@ -602,6 +604,8 @@ L.Alerts_Rockgrove_Soul_Extraction = "Incoming Soul Extraction o
L.Alerts_Rockgrove_Prime_Meteor = "|cFFD600Prime Meteor|r will explode in"
L.Alerts_Rockgrove_Hasted_Assault = "Incoming |cFF0000Hasted Assault|r! Block!"
L.Alerts_Rockgrove_Savage_Blitz = "Oaxiltso charges at |cFF0000<<!aC:1>>|r!"
L.Alerts_Rockgrove_Noxious_Sludge = "You're poisoned by |c008C22Noxious Sludge|r! Cleanse in the pool!"
L.Alerts_Rockgrove_Noxious_Sludge_Other = "|cFF0000<<!aC:1>>|r is poisoned by |c008C22Noxious Sludge|r."
L.Alerts_Rockgrove_Embrace_Of_Death = "You're cursed by |c370073Embrace of Death|r! Stay away! Explosion in"
L.Alerts_Rockgrove_Embrace_Of_Death_Other = "|cFF0000<<!aC:1>>|r cursed by |c370073Embrace of Death|r! Explosion in"

Expand Down

0 comments on commit fd5c2bd

Please sign in to comment.