Mercurial > wow > hansgar_and_franzok_assist
diff Hansgar_And_Franzok_Assist.lua @ 2:23e19ba2b62c
- Major bug fix.
| author | Tercio |
|---|---|
| date | Mon, 23 Feb 2015 20:51:14 -0300 |
| parents | 5d4efee0e528 |
| children | 1c3534391efb |
line wrap: on
line diff
--- a/Hansgar_And_Franzok_Assist.lua Mon Feb 23 14:36:20 2015 -0300 +++ b/Hansgar_And_Franzok_Assist.lua Mon Feb 23 20:51:14 2015 -0300 @@ -85,7 +85,7 @@ end else - print ("|cFFFFAA00Hansgar and Franzok Assist|r Commands:") + print ("|cFFFFAA00Hansgar and Franzok Assist|r |cFF00FF00v0.4|r Commands:") print ("|cFFFFFF00/hansgar delay <time>|r: time in seconds until the percentage goes from 0 to 100.") print ("|cFFFFFF00/hansgar test|r: active the addon on test mode.") print ("|cFFFFFF00/hansgar show|r: show the window and start test mode.") @@ -120,13 +120,14 @@ end) -- +--f:RegisterEvent ("COMBAT_LOG_EVENT_UNFILTERED") f:SetScript ("OnEvent", function (self, event, time, token, _, who_serial, who_name, who_flags, _, target_serial, target_name, target_flags, _, spellid, spellname, spellschool, buff_type, ...) - if (event == "SPELL_AURA_APPLIED" and spellid == 162124 and not f.StampersPhase) then + if (token == "SPELL_AURA_APPLIED" and spellid == 162124 and not f.StampersPhase) then f:StartTracking() - elseif (event == "SPELL_AURA_REMOVED" and spellid == 162124 and f.StampersPhase) then + elseif (token == "SPELL_AURA_REMOVED" and spellid == 162124 and f.StampersPhase) then f:StopTracking() end
