羁绊消耗bug
This commit is contained in:
@@ -379,7 +379,7 @@ export class HeroHandler {
|
|||||||
if (member.star < friendShip.level)
|
if (member.star < friendShip.level)
|
||||||
return resResult(STATUS.NOT_REACH_UNLOCK_LEVEL);
|
return resResult(STATUS.NOT_REACH_UNLOCK_LEVEL);
|
||||||
}
|
}
|
||||||
let result = await handleCost(roleId, sid, [{id: CURRENCY_BY_TYPE.get(CURRENCY_TYPE.COIN), count:5000}]);
|
let result = await handleCost(roleId, sid, [{id: CURRENCY_BY_TYPE.get(CURRENCY_TYPE.COIN), count: friendShip.costCoin}]);
|
||||||
if(!result) {
|
if(!result) {
|
||||||
return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
|
return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user