Mercurial > wow > inventory
view AuctionAddons/AuctionMaster.lua @ 25:6d4bb32babee v0.1.4-BETA
Changelog update.
author | Zerotorescue |
---|---|
date | Thu, 28 Oct 2010 19:20:42 +0200 |
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