From 44d937b8bc17199ea2f95fb29f2e4d0cde915971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <12574910+72wo@users.noreply.github.com> Date: Sat, 7 Feb 2026 01:36:43 +0800 Subject: [PATCH] 1 --- logic/service/fight/loop.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/logic/service/fight/loop.go b/logic/service/fight/loop.go index b7829e05..c4a04faa 100644 --- a/logic/service/fight/loop.go +++ b/logic/service/fight/loop.go @@ -162,13 +162,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() - // } selfinput := f.GetInputByAction(paction, false) if ret, ok := paction.(*action.ActiveSwitchAction); ok { - // println("玩家执行切换精灵动作:", pid, ret.Cid) + //正常结束可以切换,以及死切后还能再切一次 if selfinput.CanChange == 0 { if selfinput.CurrentPet.Info.Hp > 0 { //非死亡切换