This commit is contained in:
@@ -161,10 +161,10 @@ func (f *FightC) collectPlayerActions(ourID, oppID uint32) map[uint32]action.Bat
|
||||
if pid != ourID && pid != oppID {
|
||||
continue
|
||||
}
|
||||
if f.Info.Status == info.BattleMode.FIGHT_WITH_NPC && pid != 0 {
|
||||
f.Opp.GetAction()
|
||||
// if f.Info.Status == info.BattleMode.FIGHT_WITH_NPC && pid != 0 {
|
||||
// f.Opp.GetAction()
|
||||
|
||||
}
|
||||
// }
|
||||
selfinput := f.GetInputByAction(paction, false)
|
||||
if ret, ok := paction.(*action.ActiveSwitchAction); ok {
|
||||
//正常结束可以切换,以及死切后还能再切一次
|
||||
@@ -211,6 +211,8 @@ func (f *FightC) collectPlayerActions(ourID, oppID uint32) map[uint32]action.Bat
|
||||
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)
|
||||
println("AI出手死切")
|
||||
go f.Our.GetAction() //boss出手后获取出招
|
||||
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user