Mercurial > wow > hansgar_and_franzok_assist
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1:5d4efee0e528 | 2:23e19ba2b62c |
|---|---|
| 83 if (f.StampersPhase) then | 83 if (f.StampersPhase) then |
| 84 return f:StopTracking() | 84 return f:StopTracking() |
| 85 end | 85 end |
| 86 | 86 |
| 87 else | 87 else |
| 88 print ("|cFFFFAA00Hansgar and Franzok Assist|r Commands:") | 88 print ("|cFFFFAA00Hansgar and Franzok Assist|r |cFF00FF00v0.4|r Commands:") |
| 89 print ("|cFFFFFF00/hansgar delay <time>|r: time in seconds until the percentage goes from 0 to 100.") | 89 print ("|cFFFFFF00/hansgar delay <time>|r: time in seconds until the percentage goes from 0 to 100.") |
| 90 print ("|cFFFFFF00/hansgar test|r: active the addon on test mode.") | 90 print ("|cFFFFFF00/hansgar test|r: active the addon on test mode.") |
| 91 print ("|cFFFFFF00/hansgar show|r: show the window and start test mode.") | 91 print ("|cFFFFFF00/hansgar show|r: show the window and start test mode.") |
| 92 print ("|cFFFFFF00/hansgar hide|r: hide the window.") | 92 print ("|cFFFFFF00/hansgar hide|r: hide the window.") |
| 93 end | 93 end |
| 118 end | 118 end |
| 119 | 119 |
| 120 end) | 120 end) |
| 121 | 121 |
| 122 -- | 122 -- |
| 123 --f:RegisterEvent ("COMBAT_LOG_EVENT_UNFILTERED") | |
| 123 | 124 |
| 124 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, ...) | 125 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, ...) |
| 125 | 126 |
| 126 if (event == "SPELL_AURA_APPLIED" and spellid == 162124 and not f.StampersPhase) then | 127 if (token == "SPELL_AURA_APPLIED" and spellid == 162124 and not f.StampersPhase) then |
| 127 f:StartTracking() | 128 f:StartTracking() |
| 128 | 129 |
| 129 elseif (event == "SPELL_AURA_REMOVED" and spellid == 162124 and f.StampersPhase) then | 130 elseif (token == "SPELL_AURA_REMOVED" and spellid == 162124 and f.StampersPhase) then |
| 130 f:StopTracking() | 131 f:StopTracking() |
| 131 | 132 |
| 132 end | 133 end |
| 133 | 134 |
| 134 end) | 135 end) |
