Mercurial > wow > wowdb-profiler
changeset 85:e2b741356fc9
Record reputation gains from harvesting.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Thu, 23 Aug 2012 14:15:01 -0500 |
parents | 1f09f3590baa |
children | 9be5fc389c13 |
files | Main.lua |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Main.lua Thu Aug 23 11:30:03 2012 -0500 +++ b/Main.lua Thu Aug 23 14:15:01 2012 -0500 @@ -1399,6 +1399,10 @@ return end private.tracked_line = nil + + if spell_name:match("^Harvest") then + reputation_npc_id = action_data.identifier + end end function WDP:HandleSpellFailure(event_name, unit_id, spell_name, spell_rank, spell_line, spell_id)