From 5cb78141a16a34de8853e5bd1b989af966d2a9bf Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 4 Nov 2022 17:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E9=95=BF=E5=B1=9E=E6=80=A7=E6=98=9F?= =?UTF-8?q?=E7=BA=A7=E5=8F=96=E5=BD=93=E5=89=8D=E6=98=9F=E7=BA=A7?= 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 c9f13c175..9099c5f69 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -414,7 +414,7 @@ func (this *ModelHero) PropertyCompute(hero *pb.DBHero) { growCfg := this.moduleHero.configure.GetHeroLvgrow(hero.HeroID) heroCfg := this.moduleHero.configure.GetHeroConfig(hero.HeroID) lvCfg := this.moduleHero.configure.GetHeroLv(hero.Lv) - starCfg := this.moduleHero.configure.GetHeroStar(heroCfg.Star) + starCfg := this.moduleHero.configure.GetHeroStar(hero.Star) starLvfg := this.moduleHero.configure.GetHeroLv(starCfg.Level) if growCfg == nil || heroCfg == nil || lvCfg == nil || starCfg == nil || starLvfg == nil { return