``` fix(fight): 重构切换动作逻辑,将CanChange改为状态值并优化切换条件检查

This commit is contained in:
1
2025-12-10 16:42:23 +00:00
parent e30f0b7860
commit f6043fd9b9
3 changed files with 25 additions and 8 deletions

View File

@@ -14,7 +14,8 @@ import (
)
type Input struct {
CanChange bool //是否可以死亡切换CanChange
CanChange uint32 //是否可以死亡切换CanChange
// CanAction bool //是否可以行动
CurrentPet *info.BattlePetEntity //当前精灵
AllPet []*info.BattlePetEntity
Player common.PlayerI