mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-12-11 07:19:12 +00:00
qqqq
This commit is contained in:
@@ -119,7 +119,7 @@ export default class PetEquipData extends BaseData{
|
||||
//获取指定宠物等级
|
||||
getForgingBenchPetLevel(petId:number = this.info.forgingPetId){
|
||||
let exp = this.info.forgingPetLevels[`${petId}`] || 0;
|
||||
let list = TD.TbGRoleEquipLevel.getDataList().filter(info => info.exp <= exp);
|
||||
let list = TD.TbGRoleEquipLevel.getDataList().filter(info => (exp-=info.exp) >= 0);
|
||||
return list[list.length - 1].id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user