These calls will not work on a non-english clients:
Lua Code:
strsub(arg13, 1, 12) == 'Shadow Blade'
arg13 == 'Shadow Techniques'
You gonna have to use spellIDs, these are the the proper arguments for the 3 event type you need:
Lua Code:
-- SPELL_DAMAGE
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 = ...
-- SPELL_ENERGIZE
local timestamp, eventType, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellID, spellName, spellSchool, amount, powerType = ...
-- SWING_DAMAGE
local timestamp, eventType, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing, isOffHand = ...