mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
update
This commit is contained in:
@@ -81,7 +81,7 @@ export class PetUpStarView extends JNLayerBase {
|
|||||||
|
|
||||||
let upStarExp = TD.TbGRoleUpStar.get(this.data.petStar + 1).merge;
|
let upStarExp = TD.TbGRoleUpStar.get(this.data.petStar + 1).merge;
|
||||||
this.petStarExp.string = `升级进度: ${upStarExp} / ${this.data.petStarExp}`;
|
this.petStarExp.string = `升级进度: ${upStarExp} / ${this.data.petStarExp}`;
|
||||||
this.petExpProgress.value = (this.data.petStarExp / upStarExp);
|
this.petExpProgress.value = this.data.petStar + (this.data.petStarExp / upStarExp);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ export class PetUpStarView extends JNLayerBase {
|
|||||||
this.petStar.string = `当前星级: ${petStar} 星`;
|
this.petStar.string = `当前星级: ${petStar} 星`;
|
||||||
this.petStarExp.string = `升级进度: ${upStarExp} / ${petStarExp}`;
|
this.petStarExp.string = `升级进度: ${upStarExp} / ${petStarExp}`;
|
||||||
//预览进度
|
//预览进度
|
||||||
this.viewPetExpProgress.value = (petStarExp / upStarExp);
|
this.viewPetExpProgress.value = petStar + (petStarExp / upStarExp);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Submodule JisolGameCocos/extensions/ngame updated: 8c270e5f8d...47865f8d0a
Reference in New Issue
Block a user