fix(pet): 优化宠物面板计算逻辑,限制非首次生成时等级不超过100并简化特性生成

This commit is contained in:
1
2025-12-11 14:34:56 +00:00
parent cbf9b1039f
commit 8eb0a1324b
6 changed files with 30 additions and 36 deletions

View File

@@ -39,7 +39,7 @@ func (h Controller) PetEVdiy(data *pet.PetEV, c *player.Player) (result *pet.S2C
return nil, errorcode.ErrorCodes.Err10401
}
onpet.Ev = data.EVs
onpet.CalculatePetPane()
onpet.CalculatePetPane(false)
c.Info.EVPool -= USEEV1
result = &pet.S2C_50001{}