传参修改

This commit is contained in:
meixiongfeng 2023-03-10 15:48:41 +08:00
parent 4f71fa8ce2
commit 01459af59e

View File

@ -113,7 +113,7 @@ func (this *Hero) createRepeatHero(session comm.IUserSession, heroCfgId string,
TT: comm.Rtype31, TT: comm.Rtype31,
Params: []int32{1, cfg.Color}, Params: []int32{1, cfg.Color},
}) })
this.ModuleRtask.TriggerTask(session.GetUserId(), szTask) this.ModuleRtask.TriggerTask(session.GetUserId(), szTask...)
} }
return return
@ -817,7 +817,7 @@ func (this *Hero) SendTaskMsg(session comm.IUserSession, szStar []int32, drawCou
Params: []int32{drawCount}, Params: []int32{drawCount},
}) })
//this.ModuleRtask.SendToRtask(session, comm.Rtype89, drawCount) //this.ModuleRtask.SendToRtask(session, comm.Rtype89, drawCount)
this.ModuleRtask.TriggerTask(session.GetUserId(), szTask) this.ModuleRtask.TriggerTask(session.GetUserId(), szTask...)
} }
func (this *Hero) newCondition(heroRecord *pb.DBHeroRecord) (get bool, starIndex int32) { func (this *Hero) newCondition(heroRecord *pb.DBHeroRecord) (get bool, starIndex int32) {