共鸣能量点数判断

This commit is contained in:
meixiongfeng 2022-09-26 20:14:33 +08:00
parent 482fd0510e
commit 0636ab4e19

View File

@ -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
} }