@@ -59,7 +59,7 @@ uint32 AuctionHouseMgr::GetAuctionDeposit(AuctionHouseEntry const* entry, uint32
|
|||||||
uint32 MSV = pItem->GetTemplate()->SellPrice;
|
uint32 MSV = pItem->GetTemplate()->SellPrice;
|
||||||
|
|
||||||
if (MSV <= 0)
|
if (MSV <= 0)
|
||||||
return AH_MINIMUM_DEPOSIT;
|
return AH_MINIMUM_DEPOSIT * sWorld->getRate(RATE_AUCTION_DEPOSIT);
|
||||||
|
|
||||||
float multiplier = CalculatePct(float(entry->depositPercent), 3);
|
float multiplier = CalculatePct(float(entry->depositPercent), 3);
|
||||||
uint32 timeHr = (((time / 60) / 60) / 12);
|
uint32 timeHr = (((time / 60) / 60) / 12);
|
||||||
@@ -72,8 +72,8 @@ uint32 AuctionHouseMgr::GetAuctionDeposit(AuctionHouseEntry const* entry, uint32
|
|||||||
sLog->outDebug(LOG_FILTER_AUCTIONHOUSE, "Deposit: %u", deposit);
|
sLog->outDebug(LOG_FILTER_AUCTIONHOUSE, "Deposit: %u", deposit);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (deposit < AH_MINIMUM_DEPOSIT)
|
if (deposit < AH_MINIMUM_DEPOSIT * sWorld->getRate(RATE_AUCTION_DEPOSIT))
|
||||||
return AH_MINIMUM_DEPOSIT;
|
return AH_MINIMUM_DEPOSIT * sWorld->getRate(RATE_AUCTION_DEPOSIT);
|
||||||
else
|
else
|
||||||
return deposit;
|
return deposit;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user