Mercurial > wow > ouroloot
comparison core.lua @ 53:7af58a7dce7d
Don't collapse wipes into kills across normal/heroic boundaries. Apply preferredIndex change to popup dialogs to avoid memory tainting.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 06 Apr 2012 18:23:22 +0000 |
parents | 857aea8ae33d |
children | 6d5fcbdc0590 |
comparison
equal
deleted
inserted
replaced
52:94dacaeff463 | 53:7af58a7dce7d |
---|---|
1461 | 1461 |
1462 local i,d = 1,g_loot[1] | 1462 local i,d = 1,g_loot[1] |
1463 while d ~= e do | 1463 while d ~= e do |
1464 if d.bosskill and | 1464 if d.bosskill and |
1465 d.bosskill == e.bosskill and | 1465 d.bosskill == e.bosskill and |
1466 d.instance == e.instance and | |
1466 d.reason == 'wipe' | 1467 d.reason == 'wipe' |
1467 then | 1468 then |
1468 first = first or i | 1469 first = first or i |
1469 attempts = attempts + 1 | 1470 attempts = attempts + 1 |
1470 assert(tremove(g_loot,i)==d,"_mark_boss_kill screwed up data badly") | 1471 assert(tremove(g_loot,i)==d,"_mark_boss_kill screwed up data badly") |