diff --git a/modules/hero/api_resonance.go b/modules/hero/api_resonance.go index 7ed0152f8..9fba7fe8f 100644 --- a/modules/hero/api_resonance.go +++ b/modules/hero/api_resonance.go @@ -83,6 +83,13 @@ func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceR if code != pb.ErrorCode_Success { return } + + for k, _ := range szCostHero { + if k == _hero.Id { + _hero.SameCount = _costMaphero[k].SameCount + break + } + } if _hero.SameCount > 1 { _hero.SameCount -= 1 newHero := this.module.modelHero.CloneNewHero(_hero)