mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
@@ -89,10 +89,11 @@ export default class PlayerPetData extends BaseData{
|
||||
//刷新返回宠物
|
||||
onUpdateOV(operation:number,resource:PlayerPetOV){
|
||||
|
||||
resource.petLevel = PetEquipData.getIns().getForgingBenchPetLevel(resource.petId);
|
||||
|
||||
//如果没有刷新的宠物 则 返回
|
||||
if(!resource) return;
|
||||
|
||||
resource.petLevel = PetEquipData.getIns().getForgingBenchPetLevel(resource.petId);
|
||||
|
||||
if(operation == ResourceUpdateType.UPDATE){
|
||||
//更新资源
|
||||
|
Reference in New Issue
Block a user