From 9538ef2ab7ef8645386fbf9fab9bd74bb76c6509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <12574910+72wo@users.noreply.github.com> Date: Mon, 16 Mar 2026 22:36:20 +0800 Subject: [PATCH] =?UTF-8?q?```=20fix(fight/effect):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8A=80=E8=83=BD=E5=9B=9E=E5=A4=8D=E8=A1=80=E9=87=8F=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将技能回复血量的计算参数从 Args()[1] 改为 Args()[0], 确保正确使用第一个参数进行最大体力值的除法运算。 ``` --- logic/service/fight/effect/170.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/service/fight/effect/170.go b/logic/service/fight/effect/170.go index 98b86309e..7e5e25f97 100644 --- a/logic/service/fight/effect/170.go +++ b/logic/service/fight/effect/170.go @@ -19,7 +19,7 @@ func (e *Effect170) Skill_Use() bool { // 回复1/n的最大体力值 maxHp := e.Ctx().Our.CurrentPet.GetMaxHP() - healAmount := maxHp.Div(e.Args()[1]) // 1/n + healAmount := maxHp.Div(e.Args()[0]) // 1/n e.Ctx().Our.Heal(e.Ctx().Our, &action.SelectSkillAction{}, healAmount) }