武将:觉醒后品质变为4
This commit is contained in:
@@ -343,7 +343,7 @@ export class HeroHandler {
|
|||||||
if (star != HERO_GROW_MAX.STAR) {
|
if (star != HERO_GROW_MAX.STAR) {
|
||||||
return resResult(STATUS.ROLE_WAKE_STAR_NOT_ENOUGH);
|
return resResult(STATUS.ROLE_WAKE_STAR_NOT_ENOUGH);
|
||||||
}
|
}
|
||||||
if (quality != HERO_GROW_MAX.QUALITY) {
|
if (quality < HERO_GROW_MAX.QUALITY) {
|
||||||
return resResult(STATUS.ROLE_QUALITY_NOT_ENOUGH);
|
return resResult(STATUS.ROLE_QUALITY_NOT_ENOUGH);
|
||||||
}
|
}
|
||||||
// 根据dic_zyz_hero_wake 计算需要花的碎片并检查碎片数量
|
// 根据dic_zyz_hero_wake 计算需要花的碎片并检查碎片数量
|
||||||
@@ -366,6 +366,7 @@ export class HeroHandler {
|
|||||||
let isUpStar = isWakeUp || newColorStarStage == ABI_STAGE.END;
|
let isUpStar = isWakeUp || newColorStarStage == ABI_STAGE.END;
|
||||||
|
|
||||||
let update = {
|
let update = {
|
||||||
|
quality: isWakeUp? quality + 1: quality,
|
||||||
colorStar: isUpStar ? oldColorStar + 1 : oldColorStar,
|
colorStar: isUpStar ? oldColorStar + 1 : oldColorStar,
|
||||||
colorStarStage: isUpStar ? ABI_STAGE.START : newColorStarStage
|
colorStarStage: isUpStar ? ABI_STAGE.START : newColorStarStage
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user