Revert "fix(Swing): correct CLEU arg order for 3.3.5 (hideCaster + RaidFlags, destFlags)"

This reverts commit 8a180dcc7a.
This commit is contained in:
2026-05-29 19:27:50 +02:00
parent 8a180dcc7a
commit 68df17cb10
+2 -10
View File
@@ -167,15 +167,7 @@ end
do
local swordspecproc = false
-- 3.3.5 CLEU signature:
-- (event, timestamp, subevent, hideCaster,
-- srcGUID, srcName, srcFlags, srcRaidFlags,
-- destGUID, destName, destFlags, destRaidFlags,
-- spellId, spellName, spellSchool, extraSpellId, extraSpellName, extraSpellSchool)
function Swing:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatevent, hideCaster,
srcGUID, srcName, srcFlags, srcRaidFlags,
destGUID, destName, destFlags, destRaidFlags,
spellID, spellName)
function Swing:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatevent, srcGUID, srcName, srcFlags, dstName, dstGUID, dstFlags, spellID, spellName)
if swingmode ~= 0 then return end
if combatevent == "SPELL_EXTRA_ATTACKS" and spellName == swordprocname and (bit_band(srcFlags, COMBATLOG_FILTER_ME) == COMBATLOG_FILTER_ME) then
swordspecproc = true
@@ -185,7 +177,7 @@ do
else
self:MeleeSwing()
end
elseif (combatevent == "SWING_MISSED") and (bit_band(destFlags, COMBATLOG_FILTER_ME) == COMBATLOG_FILTER_ME) and spellID == "PARRY" and duration then
elseif (combatevent == "SWING_MISSED") and (bit_band(dstFlags, COMBATLOG_FILTER_ME) == COMBATLOG_FILTER_ME) and spellID == "PARRY" and duration then
duration = duration * 0.6
end
end