clear:线上版本,删除一些不需要的log
This commit is contained in:
@@ -307,7 +307,7 @@ export class EquipHandler {
|
||||
consumes: addConsumeToHero(hero.consumes, consumes)
|
||||
}
|
||||
|
||||
console.log('### incEquipStarSum', incEquipStarSum)
|
||||
// console.log('### incEquipStarSum', incEquipStarSum)
|
||||
let { curRole } = await calculateCeWithHero(HERO_SYSTEM_TYPE.EQUIP_STAR, roleId, serverId, sid, hid, update, { ePlaceId, roleIncUpdate: { equipStarSum: incEquipStarSum } });
|
||||
|
||||
await checkTaskInEquipStarUp(serverId, roleId, sid, oldEplace, newEplace, ePlaceId, hid, isUpStar, curRole.equipStarSum, count);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -39,7 +39,7 @@ export class RoleHandler {
|
||||
}
|
||||
|
||||
async initRole(msg: { roleName: string }, session: BackendSession) {
|
||||
console.log('******** initRole start', Date.now());
|
||||
// console.log('******** initRole start', Date.now());
|
||||
let roleId = session.get('roleId');
|
||||
let serverId = session.get('serverId');
|
||||
let sid: string = session.get('sid');
|
||||
@@ -64,7 +64,7 @@ export class RoleHandler {
|
||||
let warInfo = gameData.war.get(battleId);
|
||||
await RScriptRecordModel.setScript(roleId, battleId, warInfo.warType, 2, SCRIPT.SCRIPT_NAME);
|
||||
|
||||
console.log('******** initRole end', Date.now());
|
||||
// console.log('******** initRole end', Date.now());
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
roleId, roleName, heroes
|
||||
})
|
||||
|
||||
@@ -325,7 +325,7 @@ export class ShopHandler {
|
||||
if (magicWord !== DEBUG_MAGIC_WORD) {
|
||||
return resResult(STATUS.TOKEN_ERR);
|
||||
}
|
||||
console.log('******', _.isEqual([1,2], [1,2,2]))
|
||||
// console.log('******', _.isEqual([1,2], [1,2,2]))
|
||||
return resResult(STATUS.SUCCESS, { tasks: [...gameData.taskType]});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user