diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index 6862f9aef..b9570026e 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -437,6 +437,7 @@ func (this *ModelHero) PropertyCompute(hero *pb.DBHero) { 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 { + this.moduleHero.Debugf("hero PropertyCompute Configure Info err:heroid :%s, herolv:=%d,heroStar:%d,", hero.HeroID, hero.Lv, hero.Star) return } var atk = (this.StarAtkAddition(hero.Star) + lvCfg.Atk + float32(growCfg.Atk)) * (growCfg.Atkgrow / 1000.0)