This commit is contained in:
aozhiwei 2024-03-18 17:12:57 +08:00
parent 27873bacc5
commit bbafbf2803

View File

@ -277,7 +277,7 @@ func (this *player) CMSetReady(hdr *f5.MsgHdr, msg *cs.CMSetReady) {
this.GetTeam().SendUpdateNotify()
}
func (this *player) CMSpecSkill(hdr *f5.MsgHdr, msg *cs.CMSetSpecSkill) {
func (this *player) CMSetSpecSkill(hdr *f5.MsgHdr, msg *cs.CMSetSpecSkill) {
rspMsg := &cs.SMSetSpecSkill{}
if this.GetTeam().Started() {
rspMsg.Errcode = proto.Int32(1)
@ -378,6 +378,7 @@ func (this *player) updateChoose(skillId int32, heroUniId string,
this.hero.quality = q5.ToInt32(rspObj.Info.HeroInfo.Quality)
this.hero.specSkill = q5.ToInt32(rspObj.Info.HeroInfo.SpecSkill)
}
cb(0, "")
}
}