Skip to content

Commit

Permalink
[RG] Added Havocrel Barbarian's Hasted Assault announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Nov 8, 2021
1 parent fc5d503 commit bb15cc8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -618,5 +618,10 @@ rockgrove.sulxan_soulweaver_soul_extraction = {
[158441] = true,
[158442] = true,
}
-- Havocrel Barbarian's Hasted Assault
rockgrove.havocrel_barbarian_hasted_assault = {
[149261] = true,
[149268] = true,
}

RaidNotifier.BuffsDebuffs[RAID_ROCKGROVE] = rockgrove
6 changes: 6 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ do ------------------
sulxan_reaver_sundering_strike = 0, -- "Off"
sulxan_soulweaver_astral_shield = false,
sulxan_soulweaver_soul_extraction = false,
havocrel_barbarian_hasted_assault = false,
},
dbg = {
enable = false,
Expand Down Expand Up @@ -1628,6 +1629,11 @@ function RaidNotifier:CreateSettingsMenu()
name = L.Settings_Rockgrove_Soul_Extraction,
tooltip = L.Settings_Rockgrove_Soul_Extraction_TT,
}, "rockgrove", "sulxan_soulweaver_soul_extraction")
MakeControlEntry({
type = "checkbox",
name = L.Settings_Rockgrove_Hasted_Assault,
tooltip = L.Settings_Rockgrove_Hasted_Assault_TT,
}, "rockgrove", "havocrel_barbarian_hasted_assault")
subTable = nil --end submenu

MakeControlEntry({
Expand Down
5 changes: 5 additions & 0 deletions TrialRockgrove.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ function RaidNotifier.RG.OnCombatEvent(_, result, isError, aName, aGraphic, aAct
if (settings.sulxan_soulweaver_soul_extraction and tType == COMBAT_UNIT_TYPE_PLAYER) then
self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_SOUL_EXTRACTION), "rockgrove", "sulxan_soulweaver_soul_extraction")
end
-- Havocrel Barbarian's Hasted Assault
elseif (buffsDebuffs.havocrel_barbarian_hasted_assault[abilityId]) then
if (settings.havocrel_barbarian_hasted_assault) then
self:AddAnnouncement(GetString(RAIDNOTIFIER_ALERTS_ROCKGROVE_HASTED_ASSAULT), "rockgrove", "havocrel_barbarian_hasted_assault")
end
end
elseif (result == ACTION_RESULT_EFFECT_GAINED_DURATION) then
-- Sul-Xan Soulweaver's Soul Extraction (Debug purpose only!)
Expand Down
3 changes: 3 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ L.Settings_Rockgrove_Astral_Shield = "General: Astral Shield"
L.Settings_Rockgrove_Astral_Shield_TT = "Alerts you when the Sul-Xan Soulweaver casts his Astral Shield, and when Soul Remnants affect you."
L.Settings_Rockgrove_Soul_Extraction = "General: Soul Extraction"
L.Settings_Rockgrove_Soul_Extraction_TT = "Alerts you when the Sul-Xan Soulweaver casts Soul Extraction on you."
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."

-- Alerts
L.Alerts_Rockgrove_Sundering_Strike = "Incoming |cCDCDCDSundering Strike|r on you!"
Expand All @@ -591,6 +593,7 @@ L.Alerts_Rockgrove_Astral_Shield_Cast = "|cFFFF8FAstral Shield|r ha
L.Alerts_Rockgrove_Soul_Remnant_Heavy = "|cFF0000Incoming|r |c8FF2FFSoul Remnant|r!"
L.Alerts_Rockgrove_Soul_Remnant = "Incoming |c8FF2FFSoul Remnant|r!"
L.Alerts_Rockgrove_Soul_Extraction = "Incoming Soul Extraction on you!"
L.Alerts_Rockgrove_Hasted_Assault = "Incoming |cFF0000Hasted Assault|r! Block!"


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

0 comments on commit bb15cc8

Please sign in to comment.