View Single Post
09-21-10, 12:44 AM   #8
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Hmm well there is only one value that is for sure, that is the maximum value. The rest can be any value from 0 to max depending on damage taken. Well that is kind of hard to calclulate.

But maybe some info is hidden in the combat text. Try checking that for some info on your vengeance stack maybe there is a value that can be tracked.

Code:
func COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, eventType, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ...)
    if eventType == "SPELL_AURA_APPLIED" and hasFlag(destFlags, COMBATLOG_OBJECT_AFFILIATION_MINE) then
        local spellID, spellName = ...
        
        if spellName == "Vengeance" then
        
        end
end
Just an idea.

http://www.wowwiki.com/API_COMBAT_LOG_EVENT
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)