1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-07 00:18:14 +08:00
parent 637a49e274
commit 3947fbce4b
14 changed files with 61 additions and 44 deletions

View File

@@ -5,6 +5,7 @@ import (
"blazing/logic/service/fight/action"
"blazing/logic/service/fight/info"
"blazing/logic/service/fight/input"
"blazing/logic/service/player"
"github.com/jinzhu/copier"
)
@@ -168,6 +169,9 @@ func (f *FightC) startBattle(startInfo info.FightStartOutboundInfo) {
// 通知双方玩家准备完成,即将开始战斗
ff.Player.SendPackCmd(2504, &startInfo)
if _, ok := ff.Player.(*player.AI_player); ok {
ff.GetAction()
}
})
})