View Single Post
08-27-17, 10:29 AM   #3
Terenna
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 105
Thank you, good point.

I've updated it to:
Lua Code:
  1. local _, arg2, _, arg4, _, _, _, _, _, _, _, arg12, _, _, arg15 = ...
  2.         if arg4 == playerGUID then
  3.             if (arg2 == 'SWING_DAMAGE' and type(arg12) == 'number') or (arg2 == 'SPELL_DAMAGE' and (arg12 == 121473 or arg12 == 121474) and type(arg15) == 'number') then --this behemoth ensures that our white swing or shadow blade swing landed and wasnt dodged blocked parried missed etc
  4.                 shadowtechniques = shadowtechniques + 1
  5.                 UpdateSTFText()
  6.             elseif (arg2 == 'SPELL_ENERGIZE' and arg12 == 196911) then --shadow techniques procced 1-2 combo points, reset the counter
  7.                 shadowtechniques = 0
  8.                 UpdateSTFText()
  9.             end
  10.         end
  Reply With Quote