fix(Swing): correct CLEU arg order for 3.3.5 (hideCaster + RaidFlags, destFlags)
This commit is contained in:
@@ -167,7 +167,15 @@ end
|
||||
|
||||
do
|
||||
local swordspecproc = false
|
||||
function Swing:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatevent, srcGUID, srcName, srcFlags, dstName, dstGUID, dstFlags, spellID, spellName)
|
||||
-- 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)
|
||||
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
|
||||
@@ -177,7 +185,7 @@ do
|
||||
else
|
||||
self:MeleeSwing()
|
||||
end
|
||||
elseif (combatevent == "SWING_MISSED") and (bit_band(dstFlags, COMBATLOG_FILTER_ME) == COMBATLOG_FILTER_ME) and spellID == "PARRY" and duration then
|
||||
elseif (combatevent == "SWING_MISSED") and (bit_band(destFlags, COMBATLOG_FILTER_ME) == COMBATLOG_FILTER_ME) and spellID == "PARRY" and duration then
|
||||
duration = duration * 0.6
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user