From 668f17347f75ac2923d63928998dc5ddc1d174a5 Mon Sep 17 00:00:00 2001 From: Zidras <10605951+Zidras@users.noreply.github.com> Date: Thu, 2 Jan 2025 12:52:12 +0000 Subject: [PATCH] Warmane-TowerDefense: add Void Reaver's War Stomp Away from boss --- DBM-WorldEvents/WarmaneEvents/TowerDefense.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/DBM-WorldEvents/WarmaneEvents/TowerDefense.lua b/DBM-WorldEvents/WarmaneEvents/TowerDefense.lua index 619425b0..4b6537e0 100644 --- a/DBM-WorldEvents/WarmaneEvents/TowerDefense.lua +++ b/DBM-WorldEvents/WarmaneEvents/TowerDefense.lua @@ -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) @@ -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", @@ -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 = {} @@ -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