From 279f5d9d3966a1e979a6e8b19f3d0695bc1d3085 Mon Sep 17 00:00:00 2001 From: 1 <1@72wo.cn> Date: Thu, 27 Nov 2025 11:11:13 +0000 Subject: [PATCH] =?UTF-8?q?fix(fight):=20=E4=BF=AE=E6=AD=A3=E7=A9=BA?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=AF=BC=E8=87=B4=E7=9A=84=E6=BD=9C=E5=9C=A8?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/service/fight/effect/effect_73.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/logic/service/fight/effect/effect_73.go b/logic/service/fight/effect/effect_73.go index a8b243a1..50e9e1f0 100644 --- a/logic/service/fight/effect/effect_73.go +++ b/logic/service/fight/effect/effect_73.go @@ -40,11 +40,15 @@ func (e *Effect73) Action_end_ex() bool { if !e.Input.FightC.IsFirst(e.Ctx().Our.Player) { return true } - - e.Ctx().Opp.Damage(e.Ctx().Our, &info.DamageZone{ + tt := &info.DamageZone{ Type: info.DamageType.Fixed, Damage: e.Ctx().Opp.SumDamage.Mul(decimal.NewFromInt(2)), - }) + } + maxhp := e.Ctx().Our.CurrentPet.GetMaxHP().Mul(decimal.NewFromInt(30)) + if tt.Damage.Cmp(maxhp) == 1 { + tt.Damage = maxhp + } + e.Ctx().Opp.Damage(e.Ctx().Our, tt) return true }