Mercurial > wow > ouroloot
diff text_tabs.lua @ 55:ac57a4342812
More people going to be looking at g_loot entries, so start cleaning up older fields a bit, and handle loading older data.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Sat, 07 Apr 2012 05:40:20 +0000 |
parents | 1070a14cfee4 |
children | fcc0d0ff5832 |
line wrap: on
line diff
--- a/text_tabs.lua Sat Apr 07 04:59:27 2012 +0000 +++ b/text_tabs.lua Sat Apr 07 05:40:20 2012 +0000 @@ -89,7 +89,7 @@ cache[#cache+1] = "\n[b]" .. e.instance .. "[/b]" generated.last_instance = e.instance end - cache[#cache+1] = "[i]" .. e.bosskill .. "[/i]" + cache[#cache+1] = "[i]" .. e.bossname .. "[/i]" elseif e.kind == 'time' then cache[#cache+1] = "[b]" .. e.startday.text .. "[/b]" @@ -142,7 +142,7 @@ local e = loot[i] if e.kind == 'boss' and e.reason == 'kill' then - cache[#cache+1] = ("\n%s -- %s\n%s"):format(e.instance, e.bosskill, e.raiderlist or '<none recorded>') + cache[#cache+1] = ("\n%s -- %s\n%s"):format(e.instance, e.bossname, e.raiderlist or '<none recorded>') elseif e.kind == 'time' then cache[#cache+1] = e.startday.text