共鸣能量点数判断
This commit is contained in:
parent
482fd0510e
commit
0636ab4e19
@ -45,7 +45,7 @@ func (this *apiComp) ResonanceReset(session comm.IUserSession, req *pb.HeroReson
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if _hero.ResonateNum*resonConfig.Energy >= _hero.DistributionResonate {
|
if _hero.ResonateNum*resonConfig.Energy == _hero.DistributionResonate {
|
||||||
code = pb.ErrorCode_HeroNotNeedResonate // 已经是重置状态
|
code = pb.ErrorCode_HeroNotNeedResonate // 已经是重置状态
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user