From d948ccd400d36d5c2f2f63f7b6f5ba7d6f973d8d Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 13 Jul 2023 11:51:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E7=BD=B2=20#28210=20=E7=BC=BA?= =?UTF-8?q?=E9=99=B7=20=E3=80=90=E6=A2=A6=E5=B7=A5=E5=9C=BA=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E3=80=91=20=E3=80=90=E9=93=81=E5=8C=A0=E9=93=BA?= =?UTF-8?q?=E3=80=91=E8=A3=85=E5=A4=87=E6=89=93=E9=80=A0=20=E6=B6=88?= =?UTF-8?q?=E8=80=97=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/smithy/api_forgeequip.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/smithy/api_forgeequip.go b/modules/smithy/api_forgeequip.go index 4e2e575b4..ad364fd23 100644 --- a/modules/smithy/api_forgeequip.go +++ b/modules/smithy/api_forgeequip.go @@ -162,7 +162,13 @@ func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEq _costRes = append(_costRes, lava) } if len(subAtn) > 0 { - _costRes = append(_costRes, subAtn...) + for _, v := range subAtn { + _costRes = append(_costRes, &cfg.Gameatn{ + A: v.A, + T: v.T, + N: v.N * req.Count, + }) + } } if errdata = this.module.ConsumeRes(session, this.module.FormatRes(_costRes), true); errdata != nil {