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