军团:拍卖行
This commit is contained in:
@@ -80,6 +80,9 @@ export class AuctionHandler {
|
||||
}
|
||||
let newPrice = Math.floor(curPrice * dicParam.GUILD_AUCTION.AUCTION_PRICE_RISE);
|
||||
let maxFlag = max;
|
||||
if (maxFlag) {
|
||||
curPrice = maxPrice;
|
||||
}
|
||||
if (curPrice >= maxPrice) {
|
||||
curPrice = maxPrice;
|
||||
newPrice = maxPrice;
|
||||
@@ -88,6 +91,7 @@ export class AuctionHandler {
|
||||
if(newPrice > maxPrice) {
|
||||
newPrice = maxPrice;
|
||||
}
|
||||
|
||||
const costRes = await handleCost(roleId, sid, [{ id: CURRENCY_BY_TYPE.get(CURRENCY_TYPE.GOLD), count: curPrice }], ITEM_CHANGE_REASON.AUCTION_OFFER);
|
||||
if (!costRes) {
|
||||
res.releaseCallback();
|
||||
|
||||
Reference in New Issue
Block a user