Mercurial > wow > what-just-procced
comparison main.lua @ 4:fd47a5f58fa0
TOC bump for 4.1, less messy event parameters
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Tue, 26 Apr 2011 21:54:34 +0000 |
parents | e76c327b62e4 |
children | f8000fae78da |
comparison
equal
deleted
inserted
replaced
3:e76c327b62e4 | 4:fd47a5f58fa0 |
---|---|
43 self:UnregisterEvent("SPELL_ACTIVATION_OVERLAY_SHOW") | 43 self:UnregisterEvent("SPELL_ACTIVATION_OVERLAY_SHOW") |
44 end | 44 end |
45 self:Print(on and L["Activated"] or L["Deactivated"]) | 45 self:Print(on and L["Activated"] or L["Deactivated"]) |
46 end | 46 end |
47 | 47 |
48 function addon:SPELL_ACTIVATION_OVERLAY_SHOW(...) | 48 function addon:SPELL_ACTIVATION_OVERLAY_SHOW(_,spellID,_,positions) |
49 local _,spellID,_,positions = ... | |
50 local spell = GetSpellLink(spellID) or GetSpellInfo(spellID) or spellID | 49 local spell = GetSpellLink(spellID) or GetSpellInfo(spellID) or spellID |
51 self:Printf(L["%s at position %s."], spell, positions) | 50 self:Printf(L["%s at position %s."], spell, positions) |
52 end | 51 end |
53 | 52 |
54 -- vim:noet | 53 -- vim:noet |