From 83587b4e33b3d7adeba511784cd480a02f624a0b Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 20 Jul 2023 10:14:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E7=BD=B2=E6=9C=8D=20=E8=A7=89?= =?UTF-8?q?=E9=86=92=E6=8A=80=E8=83=BD=E6=A0=A1=E9=AA=8C=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/model_hero.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index 9b63fe75c..34110531b 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -205,7 +205,7 @@ func (this *ModelHero) resetJuexingProperty(hero *pb.DBHero) { } key := awakenData.Phasebonus[0] _, err := strconv.Atoi(awakenData.Phasebonus[0]) // 950 - if err != nil { + if err == nil { continue } value, _ := strconv.Atoi(awakenData.Phasebonus[1])