1
This commit is contained in:
parent
27873bacc5
commit
bbafbf2803
@ -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, "")
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user