From 91eed5d25232686f30994208ebb810f480450c33 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 11 Jul 2023 19:20:21 +0800 Subject: [PATCH] =?UTF-8?q?#27921=20=E7=BC=BA=E9=99=B7=20=E3=80=90?= =?UTF-8?q?=E6=A2=A6=E5=B7=A5=E5=9C=BA=E7=B3=BB=E7=BB=9F=E3=80=91=20=20?= =?UTF-8?q?=E3=80=90=E8=A7=89=E9=86=92=E3=80=91=E5=95=8A=E5=95=8A=E4=B8=89?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E8=A7=89=E9=86=92=E6=B2=A1=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=8A=A0=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/model_hero.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index 8e4c5bb20..2aa74ed27 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -204,11 +204,11 @@ func (this *ModelHero) resetJuexingProperty(hero *pb.DBHero) { continue } for _, v := range awakenData.Phasebonus { - value, err := strconv.Atoi(v.S) + _, err := strconv.Atoi(v.S) if err == nil { continue } - + value := v.D switch v.S { case comm.Hp: hero.JuexProperty[comm.Hp] += int32(value)