diff --git a/WarWithin/TheStonevault/Options/Colors.lua b/WarWithin/TheStonevault/Options/Colors.lua index d0ab909dc..9534e6218 100644 --- a/WarWithin/TheStonevault/Options/Colors.lua +++ b/WarWithin/TheStonevault/Options/Colors.lua @@ -39,6 +39,7 @@ BigWigs:AddColors("The Stonevault Trash", { [426771] = "yellow", [428703] = "orange", [428879] = "purple", + [428894] = "purple", [429109] = "red", [429427] = "cyan", [429545] = "yellow", diff --git a/WarWithin/TheStonevault/Options/Sounds.lua b/WarWithin/TheStonevault/Options/Sounds.lua index 99145ba6b..13735f7df 100644 --- a/WarWithin/TheStonevault/Options/Sounds.lua +++ b/WarWithin/TheStonevault/Options/Sounds.lua @@ -39,6 +39,7 @@ BigWigs:AddSounds("The Stonevault Trash", { [426771] = "alert", [428703] = "alarm", [428879] = "alarm", + [428894] = "alert", [429109] = "warning", [429427] = "info", [429545] = "alert", diff --git a/WarWithin/TheStonevault/Trash.lua b/WarWithin/TheStonevault/Trash.lua index 3e939947f..36638e3a8 100644 --- a/WarWithin/TheStonevault/Trash.lua +++ b/WarWithin/TheStonevault/Trash.lua @@ -85,6 +85,7 @@ function mod:GetOptions() {449154, "HEALER", "NAMEPLATE"}, -- Molten Mortar -- Cursedforge Honor Guard {448640, "NAMEPLATE"}, -- Shield Stampede + {428894, "TANK", "NAMEPLATE", "OFF"}, -- Stonebreaker Strike -- Cursedforge Stoneshaper {429427, "NAMEPLATE"}, -- Earth Burst Totem -- Rock Smasher @@ -181,6 +182,8 @@ function mod:OnBossEnable() -- Cursedforge Honor Guard self:RegisterEngageMob("CursedforgeHonorGuardEngaged", 214264) self:Log("SPELL_CAST_START", "ShieldStampede", 448640) + self:Log("SPELL_CAST_START", "StonebreakerStrike", 428894) + self:Log("SPELL_CAST_SUCCESS", "StonebreakerStrikeSuccess", 428894) self:Death("CursedforgeHonorGuardDeath", 214264) -- Cursedforge Stoneshaper @@ -515,6 +518,7 @@ end function mod:CursedforgeHonorGuardEngaged(guid) self:Nameplate(448640, 6.8, guid) -- Shield Stampede + self:Nameplate(428894, 14.4, guid) -- Stonebreaker Strike end do @@ -530,6 +534,22 @@ do end end +do + local prev = 0 + function mod:StonebreakerStrike(args) + self:Nameplate(args.spellId, 0, args.sourceGUID) + if args.time - prev > 2 then + prev = args.time + self:Message(args.spellId, "purple") + self:PlaySound(args.spellId, "alert") + end + end +end + +function mod:StonebreakerStrikeSuccess(args) + self:Nameplate(args.spellId, 15.2, args.sourceGUID) +end + function mod:CursedforgeHonorGuardDeath(args) self:ClearNameplate(args.destGUID) end