fix(fight): 恢复NPC死切动作处理逻辑并注释掉对手动作获取
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user