```
feat(pet): 完善宠物异色功能和战斗逻辑 - 优化宠物异色生成逻辑,当Ext不为0时使用Ext值生成异色效果 - 修复战斗中我方放弃出手时的先后手判断逻辑 - 更新宠物融合和还原操作的调试日志输出 ```
This commit is contained in:
@@ -52,6 +52,7 @@ func (h Controller) UsePetItemOutOfFight(data *item.C2S_USE_PET_ITEM_OUT_OF_FIGH
|
||||
}
|
||||
oldPetCatchTime := currentPet.CatchTime
|
||||
oldPet := c.Service.Pet.PetInfo_One_Unscoped(currentPet.OldCatchTime)
|
||||
println(c.Info.UserID, "还原", len(c.Info.PetList), currentPet.ID, oldPet.Data.ID)
|
||||
currentPet = &oldPet.Data
|
||||
currentPet.CatchTime = oldPetCatchTime
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user