From 25e853fa8ccb2cef2e886da8c36a0a4238b2cf4e Mon Sep 17 00:00:00 2001 From: xinian Date: Sun, 8 Mar 2026 20:01:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E4=BD=BF=E7=94=A8=E5=90=8E=E7=9A=84=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/service/fight/fightc.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/logic/service/fight/fightc.go b/logic/service/fight/fightc.go index 94c114a09..0d8db85b6 100644 --- a/logic/service/fight/fightc.go +++ b/logic/service/fight/fightc.go @@ -248,15 +248,6 @@ func (f *FightC) enterturn(firstAttack, secondAttack *action.SelectSkillAction) } } - if defender.CurrentPet.Info.Hp > 0 { - //技能使用后 - defender.Exec(func(effect input.Effect) bool { - effect.Ctx().SkillEntity = currentSkill - effect.Skill_Use_ex() - return true - }) - } - if defender.CurrentPet.Info.Hp <= 0 && attacker.CurrentPet.Info.Hp <= 0 { //先手方死亡,触发反同归于尽 attacker.CurrentPet.Info.Hp = 1 }