Mercurial > wow > inventory
view AuctionAddons/AuctionMaster.lua @ 54:06fee4208bf2
Altoholic should now properly show an on select message when chosen.
Selecting DataStore as item count addons should no longer break.
The local item count displayed in the summary is now actually local rather than global.
author | Zerotorescue |
---|---|
date | Mon, 20 Dec 2010 14:30:31 +0100 |
parents | 5006cb0e97c6 |
children |
line wrap: on
line source
do local function GetValue(link) local _, _, _, lowerBuyout, _, _, numAuctions, _ = AucMasGetCurrentAuctionInfo(link, false, true); --local avgBid, avgBuyout, lowerBid, lowerBuyout, upperBid, upperBuyout, numAuctions, numBuyouts return (numAuctions > 0 and lowerBuyout) or -1; end local function IsEnabled() return (AucMasGetCurrentAuctionInfo); end IMRegisterPricingAddon("AuctionMaster", GetValue, IsEnabled); end