Mercurial > wow > itemauditor
comparison Modules/DisplayInvested.lua @ 46:5e981c1df761 ticket7
Changed the way items are converted to be weighted by AH value. there are no options yet.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Tue, 20 Jul 2010 00:12:44 -0700 |
| parents | 9a6d4e2768fd |
| children | bdf3aba93aa9 |
comparison
equal
deleted
inserted
replaced
| 45:a66f6fc57cfb | 46:5e981c1df761 |
|---|---|
| 96 newValue = newValue * numOwned | 96 newValue = newValue * numOwned |
| 97 end | 97 end |
| 98 | 98 |
| 99 ItemAuditor:SaveValue(link, newValue-investedTotal, 0) | 99 ItemAuditor:SaveValue(link, newValue-investedTotal, 0) |
| 100 end | 100 end |
| 101 StaticPopup_Show ("ItemAuditor_NewPrice", link, 'two'); | 101 StaticPopup_Show ("ItemAuditor_NewPrice"); |
| 102 end | 102 end |
| 103 | 103 |
| 104 local function displayMoney(rowFrame, cellFrame, data, cols, row, realrow, column, fShow, table, ...) | 104 local function displayMoney(rowFrame, cellFrame, data, cols, row, realrow, column, fShow, table, ...) |
| 105 if fShow == true then | 105 if fShow == true then |
| 106 local money = data[realrow][column] | 106 local money = data[realrow][column] |
