Mercurial > wow > ouroloot
comparison text_tabs.lua @ 69:8442272a8418
- Make sure popup dialogs are on top of Ace3's widgets.
- Minor code reorganization. Safety hook for future boss-entry code.
- Avoid same bug from a couple revs ago when adding manual boss kills.
- Ask players about snapshot data when manually entering boss kills.
- Blizzard rearranged the button order in 3-entry popups some time ago
and I failed to adapt the code until now.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Fri, 11 May 2012 03:08:12 +0000 |
| parents | 3bed6d51e077 |
| children | ba5ff82dcf19 |
comparison
equal
deleted
inserted
replaced
| 68:3bed6d51e077 | 69:8442272a8418 |
|---|---|
| 174 local function att (_, loot, last_printed, _, cache) | 174 local function att (_, loot, last_printed, _, cache) |
| 175 for i = last_printed+1, #loot do | 175 for i = last_printed+1, #loot do |
| 176 local e = loot[i] | 176 local e = loot[i] |
| 177 | 177 |
| 178 if e.kind == 'boss' and e.reason == 'kill' then | 178 if e.kind == 'boss' and e.reason == 'kill' then |
| 179 -- This could, concievably, be different on a per-boss basis | 179 -- Raid size can potentially be different on a per-boss basis |
| 180 -- (e.g., "we're dropping to 10-man for the PvP boss") | 180 -- (e.g., "we're dropping to 10-man for the PvP boss") |
| 181 local i,o = do_attendance (e.raidersnap, e.maxsize / MEMBERS_PER_RAID_GROUP) | 181 local i,o = do_attendance (e.raidersnap, e.maxsize / MEMBERS_PER_RAID_GROUP) |
| 182 | 182 |
| 183 cache[#cache+1] = ("\n%s -- %s\n{+} %s\n{-} %s\n"): | 183 cache[#cache+1] = ("\n%s -- %s\n{+} %s\n{-} %s\n"): |
| 184 format(e.instance, e.bossname, i, o) | 184 format(e.instance, e.bossname, i, o) |
