Merge branch 'meixiongfeng' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
0f320cb41b
@ -39,7 +39,13 @@ func (this *apiComp) ResonanceReset(session comm.IUserSession, req *pb.HeroReson
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 共鸣次数判断
|
// 共鸣次数判断
|
||||||
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, _hero.Star)
|
//获取原始星级
|
||||||
|
conf := this.module.configure.GetHero(_hero.HeroID)
|
||||||
|
if conf == nil {
|
||||||
|
code = pb.ErrorCode_ConfigNoFound
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, conf.Star)
|
||||||
if resonConfig == nil {
|
if resonConfig == nil {
|
||||||
code = pb.ErrorCode_ConfigNoFound
|
code = pb.ErrorCode_ConfigNoFound
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user