Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. function(event, _, message, _, sourceGUID, _, _, _, destGUID, _, _, _, spellID, spellName, _, failedType)
  2. aura_env.lastHit = aura_env.lastHit or 0
  3.  
  4. local spellList = {}
  5. spellList[100780] = true -- Tiger Palm
  6. spellList[100784] = true -- Blackout Kick
  7. spellList[107428] = true -- Rising Sun Kick
  8. spellList[101545] = true -- Flying Serpent Kick
  9. spellList[113656] = true -- Fists of Fury
  10. spellList[101546] = true -- Spinning Crane Kick
  11. spellList[116847] = true -- Rushing Jade Wind
  12. spellList[152175] = true -- Whirling Dragon Punch
  13. spellList[115098] = true -- Chi Wave
  14. spellList[123986] = true -- Chi Burst
  15. spellList[117952] = true -- Crackling Jade Lightning
  16. spellList[205320] = true -- Strike of the Windlord
  17. spellList[115080] = true -- Touch of Death
  18. spellList[261947] = true -- Fist of the White Tiger
  19.  
  20.  
  21. comboFlash = 1
  22. else
  23. aura_env.lastHit = spellID
  24. comboFlash = 0
  25. end
  26. -- Parry/Dodge beep
  27. elseif event == "COMBAT_LOG_EVENT_UNFILTERED" and message == "SPELL_MISSED" and sourceGUID == UnitGUID("player") and spellList[spellID] and (failedType == "PARRY" or failedType == "DODGE") then
  28. PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\WaterDrop.ogg","SFX");
  29. comboFlash = 2
  30. -- Parry / Dodge Beep
  31. end
  32.  
  33. return true
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement