fix(pet): 优化宠物面板计算逻辑,限制非首次生成时等级不超过100并简化特性生成
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user