From c307556ca544a401e52f07445114905722981835 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 29 Dec 2020 20:09:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=8C=E8=A7=89=E9=86=92=E6=88=98?= =?UTF-8?q?=E5=8A=9B=E8=AF=BB=E8=A1=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/pubUtils/playerCe.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shared/pubUtils/playerCe.ts b/shared/pubUtils/playerCe.ts index 7aaf54d21..858cd1f48 100644 --- a/shared/pubUtils/playerCe.ts +++ b/shared/pubUtils/playerCe.ts @@ -85,7 +85,7 @@ export function calPlayerCe(globalCeAttr: CeAttrRole, hero: HeroType, type: numb } } let attrNumber = (hero.ceAttr[attrName].fixUp + (hero.ceAttr[attrName].equipUp || 0) + globalAttrData.fixUp) * HERO_CE_RATIO + hero.ceAttr[attrName].base * (HERO_CE_RATIO + hero.ceAttr[attrName].ratioUp + globalAttrData.ratioUp); - console.log(hero.hid, attrNumber, attrName, getAttrCeRatio(attrName)) + // console.log(hero.hid, attrNumber, attrName, getAttrCeRatio(attrName)) heroCe += attrNumber * getAttrCeRatio(attrName); } let incCe = heroCe - hero.ce; @@ -201,7 +201,7 @@ export function calHeroStarIncAttr(hero: HeroType, type: number, hid: number, ar } else { if(starStage == ABI_STAGE.START) originStar = star - 1; } - const dicStar = isWake ? getHeroWakeByQuality(quality, originColorStar) : getHeroStarByQuality(quality, originStar); // 星级表 + const dicStar = isWake ? getHeroWakeByQuality(dicHero.quality, originColorStar) : getHeroStarByQuality(quality, originStar); // 星级表 let stages = new Array(); // 需要升级的阶 if (type == HERO_SYSTEM_TYPE.INIT) { @@ -246,7 +246,6 @@ export function calHeroStarIncAttr(hero: HeroType, type: number, hid: number, ar } } for (let [type, seid] of preSeidList) { - console.log(type, seid) if (!curSeidList.has(type)) { removeSeidList.push(seid, 0); }