抽出5星英雄后A次抽奖内不会再抽到5星英雄
This commit is contained in:
parent
5053fe88ae
commit
4dfdad08a9
@ -173,6 +173,14 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//抽出5星英雄后A次抽奖内不会再抽到5星英雄(普通卡池+阵营卡池)
|
//抽出5星英雄后A次抽奖内不会再抽到5星英雄(普通卡池+阵营卡池)
|
||||||
|
if heroRecord.Race[req.DrawType] >= cfgGlobal.DrawCardContinuousRestrictionStar5 && Is5Star {
|
||||||
|
if IsBaodiPool {
|
||||||
|
strPool[len(strPool)-1] = drawConf.P3pool
|
||||||
|
} else {
|
||||||
|
strPool[len(strPool)-1] = drawConf.N3pool
|
||||||
|
}
|
||||||
|
Is5Star = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 通过卡池获得最终的英雄
|
// 通过卡池获得最终的英雄
|
||||||
|
Loading…
Reference in New Issue
Block a user