diff --git a/Quartz/modules/Swing.lua b/Quartz/modules/Swing.lua index 93f7351..4f05008 100644 --- a/Quartz/modules/Swing.lua +++ b/Quartz/modules/Swing.lua @@ -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