rendered paste body-- Specific values:
missType = ("ABSORB", "BLOCK", "DODGE", "EVADE", "IMMUNE", "MISS", "PARRY", "RESIST")
auraType = ("BUFF", "DEBUFF")
spellSchool = (0 = None, 1 = Physical, 2 = Holy, 4 = Fire, 8 = Nature, 16 = Frost, 32 = Shadow, 64 = Arcane -- Not a bitmask, only one value)
powerType = (0 = mana, 1 = rage, 2 = focus, 3 = energy, 4 = happiness, 5 = runes)
extraAmount = number, not sure if it's full amount the caster gains, or the extra added on top of what the target loses
environmentalType = ("DROWNING", "FALLING", "FATIGUE", "FIRE", "LAVA", "SLIME")
-- Swing (melee)
SWING_DAMAGE: amount, school, resisted, blocked, absorbed, critical, glancing, crushing
SWING_MISSED: missType
-- Ranged
RANGE_DAMAGE: spellId, spellName, spellSchool, amount, school, resisted, blocked, absorbed, critical, glancing, crushing
RANGE_MISSED: spellId, spellName, spellSchool, missType
-- Spell
SPELL_DAMAGE: spellId, spellName, spellSchool, amount, school, resisted, blocked, absorbed, critical, glancing, crushing
SPELL_MISSED: spellId, spellName, spellSchool, missType
SPELL_HEAL: spellId, spellName, spellSchool, amount, critical
SPELL_DRAIN: spellId, spellName, spellSchool, amount, powerType, extraAmount
SPELL_LEECH: spellId, spellName, spellSchool, amount, powerType, extraAmount
SPELL_ENERGIZE: spellId, spellName, spellSchool, amount, powerType
-- Periodic spells
SPELL_PERIODIC_MISSED: spellId, spellName, spellSchool, missType
SPELL_PERIODIC_DAMAGE: spellId, spellName, spellSchool, amount, school, resisted, blocked, absorbed, critical, glancing, crushing
SPELL_PERIODIC_HEAL: spellId, spellName, spellSchool, amount, critical
SPELL_PERIODIC_DRAIN: spellId, spellName, spellSchool, amount, powerType, extraAmount
SPELL_PERIODIC_LEECH: spellId, spellName, spellSchool, amount, powerType, extraAmount
SPELL_PERIODIC_ENERGIZE: spellId, spellName, spellSchool, amount, powerType
-- Spell auras
SPELL_AURA_DISPELLED: spellId, spellName, spellSchool, dispelledSpellId, dispelledSpellName, dispelledSpellSchool, auraType
SPELL_AURA_STOLEN: spellId, spellName, spellSchool, stolenSpellId, stolenSpellName, stolenSpellSchool, auraType
SPELL_AURA_APPLIED: spellId, spellName, spellSchool, auraType
SPELL_AURA_REMOVED: spellId, spellName, spellSchool, auraType (this is the 'buff X fades' event)
spell_AURA_APPLIED_DOSE: spellId, spellName, spellSchool, auraType, newDose
spell_AURA_REMOVED_DOSE: spellId, spellName, spellSchool, auraType, oldDose
-- 'Special' spell events
SPELL_DISPEL_FAILED: spellId, spellName, spellSchool, extraSpellId, extraSpellName, extraSpellSchool
SPELL_INTERRUPT: spellId, spellName, spellSchool, interruptedSpellId, interruptedSpellName, interruptedSpellSchool
SPELL_EXTRA_ATTACKS: spellId, spellName, spellSchool, numExtraAttacks
SPELL_INSTAKILL: spellId?, spellName?
SPELL_DURABILITY_DAMAGE: spellId?, spellName?
SPELL_DURABILITY_DAMAGE_ALL: spellId?, spellName?
-- Spell casting
SPELL_CAST_START: spellId, spellName, spellSchool
SPELL_CAST_SUCCESS: spellId, spellName, spellSchool
SPELL_CAST_FAILED: spellId, spellName, spellSchool, missType (check possible values of missType)
-- Damage shields
DAMAGE_SHIELD: spellId, spellName, spellSchool, amount, school, resisted, blocked, absorbed, critical, glancing, crushing
DAMAGE_SHIELD_MISSED: spellId, spellName, spellSchool, missType (never "ABSORB" it seems)
-- 'Unique' events
PARTY_KILL: No arguments
UNIT_DIED: No arguments
UNIT_DESTROYED: No arguments
ENCHANT_APPLIED: spellName, itemId, itemName
ENCHANT_REMOVED: spellName, itemId, itemName
ENVIRONMENTAL_DAMAGE: environmentalType, amount, school, resisted, blocked, absorbed, critical, glancing, crushing
DAMAGE_SPLIT: spellId, spellName, spellSchool, amount, school, resisted, blocked, absorbed, critical, glancing, crushing