```
feat(fight): 增加战斗模式枚举并重构战斗逻辑判断 - 引入完整的 BattleMode 枚举定义,替代原有的 BattleStatus,明确区分各类战斗场景 - 在多个控制器中替换对旧 Status 字段的依赖,统一使用 Mode 判断战斗状态 - 修复部分函数调用前未检查 FightC 是否为空的问题,增加 ErrBattleEnded 错误返回 - 调整
This commit is contained in:
@@ -18,7 +18,7 @@ type Input struct {
|
||||
AllPet []*info.BattlePetEntity
|
||||
Player common.PlayerI
|
||||
Opp *Input
|
||||
CanCapture bool
|
||||
CanCapture int
|
||||
Finished bool //是否加载完成
|
||||
*info.AttackValue
|
||||
FightC common.FightI
|
||||
|
||||
Reference in New Issue
Block a user