英雄配置错误信息收集
This commit is contained in:
parent
39221f5fb2
commit
2fc9a1cf26
@ -437,6 +437,7 @@ func (this *ModelHero) PropertyCompute(hero *pb.DBHero) {
|
|||||||
starCfg := this.moduleHero.configure.GetHeroStar(hero.Star)
|
starCfg := this.moduleHero.configure.GetHeroStar(hero.Star)
|
||||||
starLvfg := this.moduleHero.configure.GetHeroLv(starCfg.Level)
|
starLvfg := this.moduleHero.configure.GetHeroLv(starCfg.Level)
|
||||||
if growCfg == nil || heroCfg == nil || lvCfg == nil || starCfg == nil || starLvfg == nil {
|
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
|
return
|
||||||
}
|
}
|
||||||
var atk = (this.StarAtkAddition(hero.Star) + lvCfg.Atk + float32(growCfg.Atk)) * (growCfg.Atkgrow / 1000.0)
|
var atk = (this.StarAtkAddition(hero.Star) + lvCfg.Atk + float32(growCfg.Atk)) * (growCfg.Atkgrow / 1000.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user