refactor: 重构战斗回合结束逻辑
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -376,7 +376,7 @@ func (pet *PetInfo) Downgrade(level uint32) {
|
||||
func (petinfo *PetInfo) Update(isup bool) {
|
||||
|
||||
// 最大进化次数限制(防止配置表闭环导致死循环)
|
||||
maxEvolveTimes := 10
|
||||
maxEvolveTimes := 1
|
||||
evolveCount := 0
|
||||
|
||||
// 循环进化:直到不满足进化条件 或 达到最大进化次数
|
||||
|
||||
Reference in New Issue
Block a user