From a147523d006ddf519c049aa598a5c534f74b9b04 Mon Sep 17 00:00:00 2001 From: liwei <2211068034@qq.com> Date: Mon, 24 Jul 2023 16:53:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=B4=97=E7=BB=83=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E5=B1=9E=E6=80=A7=E7=AE=97=E6=B3=95=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/equipment/api_washconfirm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/equipment/api_washconfirm.go b/modules/equipment/api_washconfirm.go index fe39293af..23768c0a7 100644 --- a/modules/equipment/api_washconfirm.go +++ b/modules/equipment/api_washconfirm.go @@ -63,7 +63,7 @@ func (this *apiComp) WashConfirm(session comm.IUserSession, req *pb.EquipmentWas Lv: v.Lv, AttrName: attrlibrary.Attrkey, BaseValue: attrlibrary.Attrvar, - Value: attrlibrary.Attrvar + int32(float64(attrlibrary.Addition[equip.AdverbEntry[i].Lv-1])/1000.0*float64(attrlibrary.AttrvarCorrect)), + Value: attrlibrary.Attrvar + int32(float64(attrlibrary.Addition[equip.AdverbEntry[i].Lv-1])/1000.0*float64(attrlibrary.Attrvar)), } } if err = this.module.modelEquipment.ChangeList(session.GetUserId(), equip.Id, map[string]interface{}{