抽卡:求贤若渴保底不能给紫将
This commit is contained in:
@@ -297,7 +297,8 @@ export class GachaPull {
|
|||||||
let isTarget = this.bigReward.id == gachaResult.contentId;
|
let isTarget = this.bigReward.id == gachaResult.contentId;
|
||||||
if(++historyCount >= dicFloorCount || isTarget) {
|
if(++historyCount >= dicFloorCount || isTarget) {
|
||||||
if(hasGetFloor) { // 已经获得过一次保底了, 不给,换个给
|
if(hasGetFloor) { // 已经获得过一次保底了, 不给,换个给
|
||||||
gachaResult.setContentId(getGachaContentOfHeroQuality(HERO_QUALITY_TYPE.PURPLE));
|
let notBigReward = this.percent.filter(cur => cur.id != this.bigReward.id);
|
||||||
|
gachaResult.setContentId(notBigReward[0].id, notBigReward[0].goodId);
|
||||||
} else {
|
} else {
|
||||||
gachaResult.setContentId(this.bigReward.id, this.bigReward.goodId);
|
gachaResult.setContentId(this.bigReward.id, this.bigReward.goodId);
|
||||||
hasGetFloor = true;
|
hasGetFloor = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user