fix(fight): 恢复NPC死切动作处理逻辑并注释掉对手动作获取

This commit is contained in:
1
2025-12-16 07:42:45 +00:00
parent a5502a76bb
commit a3e8e4dd19

View File

@@ -173,12 +173,12 @@ func (f *FightC) collectPlayerActions(ourID, oppID uint32) map[uint32]action.Bat
if selfinput.CanChange == 2 {
selfinput.CanChange = 0
// if f.Info.Status == info.BattleMode.FIGHT_WITH_NPC && pid == 0 {
// f.Switch = make(map[uint32]*action.ActiveSwitchAction)
// f.Our.Player.SendPackCmd(2407, &ret.Reason)
// f.Opp.GetAction()
// println("开始执行NPC死切动作")
// }
if f.Info.Status == info.BattleMode.FIGHT_WITH_NPC && pid == 0 {
f.Switch = make(map[uint32]*action.ActiveSwitchAction)
f.Our.Player.SendPackCmd(2407, &ret.Reason)
// f.Opp.GetAction()
println("开始执行NPC死切动作")
}
continue
}
}