成长属性星级取当前星级
This commit is contained in:
parent
d42d6d217f
commit
5cb78141a1
@ -414,7 +414,7 @@ func (this *ModelHero) PropertyCompute(hero *pb.DBHero) {
|
|||||||
growCfg := this.moduleHero.configure.GetHeroLvgrow(hero.HeroID)
|
growCfg := this.moduleHero.configure.GetHeroLvgrow(hero.HeroID)
|
||||||
heroCfg := this.moduleHero.configure.GetHeroConfig(hero.HeroID)
|
heroCfg := this.moduleHero.configure.GetHeroConfig(hero.HeroID)
|
||||||
lvCfg := this.moduleHero.configure.GetHeroLv(hero.Lv)
|
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)
|
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 {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user