Shows last damage/heal done by spell as button's text.
There is 3 types of more or less accurate spell effect you can expect by casting:
Tooltip data from Blizzard (seems always lower than actual effect)
Heavy calculations and tuning like DrDamage do
Collect data and show (like this addon)
For now supports only Blizzard's action buttons and Bartender4 since v0.20.
How it works
Lot of spells quite plain: you pressing button, it have spell id, through combat log addon receives damage/healing info. For example you casting "Smite" - log contains spell cast started and damage info (effect will be shown on next spell cast).
Some spells more complicated: you casting instant spell "Icy Touch", it contains cast success, direct damage info, "Frost Fever" aura applied that causing extra damage per tick. Some of such spells solved already, some not (I have only several 80+ alts). So if you want to get more info read next section "Howto".
To add damage/heal caused by spell's side effects:
Find "Target Dummy"
Enable debug mode like "/le debug"
Cast your spell and see log in chat
There will be cast and auras info (format is "event, spellId, spellName, amount or buff"), add your side effect spellId to LE_SpellPartOf in Spells.lua like [sideEffectId] = mainSpellId
"/reload" and see is it works
Disable debug mode typing "/le debug" again
To toggle debug mode use slash command /le debug (or /LastEffect debug).
toc changed for v5.4
toc changed for v5.3
monk's "Surging Mist" and "Enveloping Mist" added
toc changed for v5.1.0
fixed: button text disappearing
fixed: stopped working on changing stances and presences
Shaman's "Fire Nova" and "Stormstrike" added
libstub and EasyStorage fix
effect calculated between button clicks: helps with channeled spells
"average" mode (optional): "average" switch in slash commands
added text to macro based buttons (if GetMacroSpell able to retrieve spell id from macro)
pet's damage can be shown
hunter: "Kill Command" damage added
fix: "attempt to index local 'fname' (a nil value)"
more checks to prevent using on wrong buttons
ACTIONBAR_PAGE_CHANGED event: fixes on changing action bar pages
added several procs and auras for: mage, priest, dk, hunter, paladin
counter resets on next cast only
speed issue fix
added event hadlers to update associated action buttons
added some comments to main.lua and Spells.lua
fixed: TinyExtraBars link