From 241cef544cb98fd55f3ccae83fd47fbe3d647dae Mon Sep 17 00:00:00 2001 From: 1 <1@72wo.cn> Date: Wed, 15 Oct 2025 14:54:59 +0000 Subject: [PATCH] =?UTF-8?q?```=20refactor(fight):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=95=88=E6=9E=9C=E6=B7=BB=E5=8A=A0=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E4=B8=BB=E5=8A=A8=E6=96=B9=E5=92=8C=E8=A2=AB?= =?UTF-8?q?=E5=8A=A8=E6=96=B9=E5=A4=84=E7=90=86=E5=B9=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=AF=B4=E6=98=8E```?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/service/fight/input/effecti.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/logic/service/fight/input/effecti.go b/logic/service/fight/input/effecti.go index 6acbaf22..85934144 100644 --- a/logic/service/fight/input/effecti.go +++ b/logic/service/fight/input/effecti.go @@ -41,6 +41,8 @@ type Effect interface { PreBattleEnd(ctx Ctx) bool //战斗结束前 OnBattleEnd(ctx Ctx) bool //战斗结束 Prop_Befer(in *Input, prop, level int8, ptype info.EnumAbilityOpType) bool //锁定属性 + //效果添加时候应该区分主动方和被动方来确认是主动添加的还是受击添加的 + //boss是进入防守方才被添加抵御异常状态效果的,boss免疫的实质是给挑战者挂载一个阻止添加给对手的debuff EFFect_Befer() SetArgs(input *Input, param ...int)