refactor: 重构战斗回合结束逻辑
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-07 18:50:51 +08:00
committed by cnb
parent bf2325e2ef
commit 2d4ec0e5ba
2 changed files with 30 additions and 63 deletions

View File

@@ -376,7 +376,7 @@ func (pet *PetInfo) Downgrade(level uint32) {
func (petinfo *PetInfo) Update(isup bool) {
// 最大进化次数限制(防止配置表闭环导致死循环)
maxEvolveTimes := 10
maxEvolveTimes := 1
evolveCount := 0
// 循环进化:直到不满足进化条件 或 达到最大进化次数