This commit is contained in:
DESKTOP-5RP3AKU\Jisol 2023-11-27 02:22:24 +08:00
parent 4fea6dd030
commit 0da4b5e8d8
2 changed files with 3 additions and 3 deletions

View File

@ -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);
} }

@ -1 +1 @@
Subproject commit 8c270e5f8d9df4b531c5c102a43c1a66c85e2e53 Subproject commit 47865f8d0af09462f3cf8594ccde001802df8723