public
Description: WoW Addon - Generic reminder framework
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/cork.git
Click here to lend your support to: cork and make a donation at www.pledgie.com !
Fix raid buffer not actually checking if people in the group need a buff
tekkub (author)
Fri Sep 19 15:28:54 -0700 2008
commit  e487d345092c57579e2d0296f27cf746c6cab2f2
tree    7829583d71b8c81513856fac29e03e826cb1a5d1
parent  9aa12cf53163e75dd32ebf99e3c9dfa8bb9ea3c2
...
58
59
60
61
 
62
63
64
...
58
59
60
 
61
62
63
64
0
@@ -58,7 +58,7 @@ function Cork:GenerateRaidBuffer(spellname, multispellname, icon)
0
       if GetNumRaidMembers() > 0 then for i in pairs(raidneeds) do raidneeds[i] = nil end end
0
       for i=1,GetNumRaidMembers() do
0
         local _, _, subgroup, _, _, _, zone, online, dead = GetRaidRosterInfo(i)
0
- raidneeds[subgroup] = (raidneeds[subgroup] or 0) + (zone and online and not dead and IsSpellInRange(multispell, "raid"..i) and 1 or 0)
0
+ raidneeds[subgroup] = (raidneeds[subgroup] or 0) + (dataobj["raid"..i] and zone and online and not dead and IsSpellInRange(multispell, "raid"..i) and 1 or 0)
0
         if raidneeds[subgroup] >= Cork.dbpc.multithreshold then return frame:SetManyAttributes("type1", "spell", "spell", multispell, "unit", "raid"..i) end
0
       end
0
     end

Comments

    No one has commented yet.