Skip to content

Commit

Permalink
Warmane-TowerDefense: add Void Reaver's War Stomp
Browse files Browse the repository at this point in the history
Away from boss
  • Loading branch information
Zidras committed Jan 2, 2025
1 parent 9444920 commit 668f173
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions DBM-WorldEvents/WarmaneEvents/TowerDefense.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local mod = DBM:NewMod("WarmaneTowerDefense", "DBM-WorldEvents", 2)
local L = mod:GetLocalizedStrings()

mod:SetRevision("20250102122706")
mod:SetRevision("20250102125117")
mod:SetUsedIcons(1, 2, 3, 4, 5)
mod:SetHotfixNoticeRev(20241231000000)
mod.noStatistics = true -- needed to avoid Start/End chat messages, as well as other interactions not really suited for this event (wave based)
Expand All @@ -15,7 +15,7 @@ mod:RegisterEvents(

mod:RegisterEventsInCombat(
"SPELL_CAST_START 31999 73775 15847 21099",
"SPELL_CAST_SUCCESS 28410",
"SPELL_CAST_SUCCESS 28410 34162",
"SPELL_AURA_APPLIED 36096 66009 73061 21098 22067 28410",
"SPELL_AURA_REMOVED 28410",
"SPELL_DAMAGE 34190",
Expand Down Expand Up @@ -66,6 +66,9 @@ mod:AddBoolOption("EqUneqWeapons", mod:IsDps(), nil, nil, nil, nil, 28410)
-- Illidan Stormrage (400022)

-- Void Reaver (400051)
local warnWarStompSoon = mod:NewSoonAnnounce(41534, 2)

local specWarnWarStompRun = mod:NewSpecialWarningRun(41534, "Melee", nil, nil, 4, 2)
local specWarnArcaneOrbDodge = mod:NewSpecialWarningDodge(34190, nil, nil, nil, 1, 2) -- No event for this cast, only damage and aura applied

local mindControlledTargets = {}
Expand Down Expand Up @@ -154,6 +157,10 @@ function mod:SPELL_CAST_SUCCESS(args)
table.wipe(mindControlledTargets)
self.vb.mindControlIcon = 1
end
elseif spellId == 34162 then -- Pounding (after cast success, starts channeling for 5s)
warnWarStompSoon:Show()
specWarnWarStompRun:Schedule(5)
specWarnWarStompRun:ScheduleVoice(5, "runout")
end
end

Expand Down

0 comments on commit 668f173

Please sign in to comment.