clear:线上版本,删除一些不需要的log
This commit is contained in:
@@ -85,7 +85,7 @@ export class HeroHandler {
|
||||
if (oldLv + addLv > playerLv) addLv = playerLv - oldLv;
|
||||
|
||||
let nextExp = getHeroExpByLv(oldLv + addLv - 1);
|
||||
console.log('nextExp', nextExp, oldLv + addLv - 1, oldExp)
|
||||
// console.log('nextExp', nextExp, oldLv + addLv - 1, oldExp)
|
||||
let needExp = nextExp - oldExp;
|
||||
let newExp = oldExp;
|
||||
|
||||
@@ -293,7 +293,7 @@ export class HeroHandler {
|
||||
if (newColorStarStage == oldColorStarStage) return resResult(STATUS.ROLE_MATERIAL_NOT_ENOUGH);
|
||||
}
|
||||
let consumes = check.getConsume();
|
||||
console.log('&&&&&&&&7', JSON.stringify(consumes))
|
||||
// console.log('&&&&&&&&7', JSON.stringify(consumes))
|
||||
let result = await handleCost(roleId, sid, consumes, ITEM_CHANGE_REASON.HERO_WAKE_UP);
|
||||
if (!result)
|
||||
return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
|
||||
|
||||
Reference in New Issue
Block a user