View Single Post
08-27-17, 09:23 AM   #2
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
These calls will not work on a non-english clients:

Lua Code:
  1. strsub(arg13, 1, 12) == 'Shadow Blade'
  2. arg13 == 'Shadow Techniques'

You gonna have to use spellIDs, these are the the proper arguments for the 3 event type you need:

Lua Code:
  1. -- SPELL_DAMAGE
  2. local timestamp, eventType, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellID, spellName, spellSchool, amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing, isOffHand = ...
  3.  
  4. -- SPELL_ENERGIZE
  5. local timestamp, eventType, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellID, spellName, spellSchool, amount, powerType = ...
  6.  
  7. -- SWING_DAMAGE
  8. local timestamp, eventType, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing, isOffHand = ...
  Reply With Quote