Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(event, _, message, _, sourceGUID, _, _, _, destGUID, _, _, _, spellID, spellName, _, failedType)
- aura_env.lastHit = aura_env.lastHit or 0
- local spellList = {}
- spellList[100780] = true -- Tiger Palm
- spellList[100784] = true -- Blackout Kick
- spellList[107428] = true -- Rising Sun Kick
- spellList[101545] = true -- Flying Serpent Kick
- spellList[113656] = true -- Fists of Fury
- spellList[101546] = true -- Spinning Crane Kick
- spellList[116847] = true -- Rushing Jade Wind
- spellList[152175] = true -- Whirling Dragon Punch
- spellList[115098] = true -- Chi Wave
- spellList[123986] = true -- Chi Burst
- spellList[117952] = true -- Crackling Jade Lightning
- spellList[205320] = true -- Strike of the Windlord
- spellList[115080] = true -- Touch of Death
- spellList[261947] = true -- Fist of the White Tiger
- comboFlash = 1
- else
- aura_env.lastHit = spellID
- comboFlash = 0
- end
- -- Parry/Dodge beep
- elseif event == "COMBAT_LOG_EVENT_UNFILTERED" and message == "SPELL_MISSED" and sourceGUID == UnitGUID("player") and spellList[spellID] and (failedType == "PARRY" or failedType == "DODGE") then
- PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\WaterDrop.ogg","SFX");
- comboFlash = 2
- -- Parry / Dodge Beep
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement