comparison KBF.lua @ 11:76650e326a57

comments
author Chris Mellon <arkanes@gmai.com>
date Wed, 13 Oct 2010 09:28:45 -0500
parents 7309cc67cac0
children 5f07c89cb6af
comparison
equal deleted inserted replaced
10:7309cc67cac0 11:76650e326a57
52 -- TODO: The blizz secure aura header binds both temp enchants 52 -- TODO: The blizz secure aura header binds both temp enchants
53 -- to the main hand. No support for cancelling weapon enchants 53 -- to the main hand. No support for cancelling weapon enchants
54 -- until this gets fixed up 54 -- until this gets fixed up
55 55
56 -- debuffs 56 -- debuffs
57 -- Since debuffs aren't cancellable, don't need to use the secure header
58 -- for them. This could be rewritten to support useful features like
59 -- sorting & scaling and stuff. Honestly, should at least be alphabetical.
57 for idx=1,99 do 60 for idx=1,99 do
58 local frame = self.debuffFrames[idx] 61 local frame = self.debuffFrames[idx]
59 if self.dirty then 62 if self.dirty then
60 local name, rank, icon, stacks, debuffType, duration, expirationTime = UnitAura(unit, idx, "HARMFUL") 63 local name, rank, icon, stacks, debuffType, duration, expirationTime = UnitAura(unit, idx, "HARMFUL")
61 if not name then 64 if not name then