修复打金次数

This commit is contained in:
aozhiwei 2024-07-11 14:00:59 +08:00
parent d21a7da8ed
commit 6eef189c72

View File

@ -484,6 +484,8 @@ func (this *player) updateChoose(skillId int32, heroUniId string,
this.hero.specSkill = q5.ToInt32(rspObj.Info.HeroInfo.SpecSkill)
q5.DuckToSimple(rspObj.Info.HeroInfo.Wealth, &this.hero.wealth)
q5.DuckToSimple(rspObj.Info.HeroInfo.ValidLefttime, &this.hero.validLeftTime)
q5.DuckToSimple(rspObj.Info.HeroInfo.CurrentTimes, &this.hero.currentTimes)
q5.DuckToSimple(rspObj.Info.HeroInfo.TotalTimes, &this.hero.totalTimes)
}
cb(0, "")