Mercurial > wow > itemauditor
comparison Modules/Crafting.lua @ 77:a8fc802b42ba
Changed the QuickAuctions decider to consider the number already owned and only calculate based on what needs to be crated.
Fixed the QuickAuctions decider to return the number of items to be created instead of the number of times to create. This makes a difference with things like Runescroll of Fortitude where 5 are created at once.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 01 Aug 2010 08:42:29 -0700 |
parents | 71de6e86a1a4 |
children | e9f7bc9199ca |
comparison
equal
deleted
inserted
replaced
76:574c154d24ab | 77:a8fc802b42ba |
---|---|
317 end | 317 end |
318 end | 318 end |
319 | 319 |
320 winner = lastWinner | 320 winner = lastWinner |
321 lastWinner = "" | 321 lastWinner = "" |
322 | |
323 data.queue = ceil(data.queue / GetTradeSkillNumMade(data.tradeSkillIndex)) | |
322 | 324 |
323 return winner, data.queue | 325 return winner, data.queue |
324 end | 326 end |
325 | 327 |
326 local function isProfitable(data) | 328 local function isProfitable(data) |