修改Rtype123
This commit is contained in:
parent
61250eaaf2
commit
c00990de8c
@ -491,10 +491,10 @@ func (this *ModelRtask) verifyRtype123(uid string, cfg *cfg.GameRdtaskCondiData,
|
||||
}
|
||||
|
||||
if ml, y := m.(comm.IHero); y {
|
||||
heroList := ml.GetHeroList(uid)
|
||||
for _, heroId := range ml.QueryHeroTelnetByCount(uid, int(cfg.Data2)) {
|
||||
hero, ec := ml.GetHeroByObjID(uid, heroId)
|
||||
if ec == pb.ErrorCode_Success {
|
||||
if hero.Star == cfg.Data3 {
|
||||
for _, hero := range heroList {
|
||||
if heroId == hero.Id && hero.Star == cfg.Data3 {
|
||||
count++
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user