From 70e56d66207a90fe8f5ece3fd036417e223a0112 Mon Sep 17 00:00:00 2001 From: xinian Date: Sat, 14 Mar 2026 20:56:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=95=88=E6=9E=9C474?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=B4=A2=E5=BC=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/service/fight/effect/474.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logic/service/fight/effect/474.go b/logic/service/fight/effect/474.go index 54478289..1475a111 100644 --- a/logic/service/fight/effect/474.go +++ b/logic/service/fight/effect/474.go @@ -12,10 +12,10 @@ type Effect474 struct { func (e *Effect474) OnSkill() bool { if e.IsFirst() { // 先出手 - chance := e.Args()[0].IntPart() + chance := e.Args()[1].IntPart() success, _, _ := e.Input.Player.Roll(int(chance), 100) if success { - effectType := int8(e.Args()[1].IntPart()) // XX类型 + effectType := int8(e.Args()[0].IntPart()) // XX类型 effectValue := int8(e.Args()[2].IntPart()) // 等级+n e.Ctx().Our.SetProp(e.Ctx().Our, effectType, effectValue)