Change Log:
--------------------
v0.37
toc changed for v5.4
v0.36
toc changed for v5.3
v0.35
monk's "Surging Mist" and "Enveloping Mist" added
v0.34
toc changed for v5.1.0
v0.33
fixed: button text disappearing
fixed: stopped working on changing stances and presences
v0.32
Shaman's "Fire Nova" and "Stormstrike" added
v0.31
libstub and EasyStorage fix
v0.30
cleanup
effect calculated between button clicks: helps with channeled spells
"average" mode (optional): "average" switch in slash commands
v0.23
added text to macro based buttons (if GetMacroSpell able to retrieve spell id from macro)
v0.22b
pet's damage can be shown
hunter: "Kill Command" damage added
v0.21b
fix: "attempt to index local 'fname' (a nil value)"
v0.20b
Bartender4 support
v0.18b
more checks to prevent using on wrong buttons
ACTIONBAR_PAGE_CHANGED event: fixes on changing action bar pages
v0.17b
added several procs and auras for: mage, priest, dk, hunter, paladin
counter resets on next cast only
v0.16a
taint fix
speed issue fix
v0.15a
added readme.txt
added event hadlers to update associated action buttons
added some comments to main.lua and Spells.lua
fixed: TinyExtraBars link
v0.10a
initial alpha
Description:
--------------------
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".
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 = 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).
--------------------
v0.37
toc changed for v5.4
v0.36
toc changed for v5.3
v0.35
monk's "Surging Mist" and "Enveloping Mist" added
v0.34
toc changed for v5.1.0
v0.33
fixed: button text disappearing
fixed: stopped working on changing stances and presences
v0.32
Shaman's "Fire Nova" and "Stormstrike" added
v0.31
libstub and EasyStorage fix
v0.30
cleanup
effect calculated between button clicks: helps with channeled spells
"average" mode (optional): "average" switch in slash commands
v0.23
added text to macro based buttons (if GetMacroSpell able to retrieve spell id from macro)
v0.22b
pet's damage can be shown
hunter: "Kill Command" damage added
v0.21b
fix: "attempt to index local 'fname' (a nil value)"
v0.20b
Bartender4 support
v0.18b
more checks to prevent using on wrong buttons
ACTIONBAR_PAGE_CHANGED event: fixes on changing action bar pages
v0.17b
added several procs and auras for: mage, priest, dk, hunter, paladin
counter resets on next cast only
v0.16a
taint fix
speed issue fix
v0.15a
added readme.txt
added event hadlers to update associated action buttons
added some comments to main.lua and Spells.lua
fixed: TinyExtraBars link
v0.10a
initial alpha
Description:
--------------------
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".
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 = 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).