抽卡:修复紫卡保底
This commit is contained in:
@@ -302,7 +302,7 @@ export class GachaPull {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private getPurpleFloor(count: number, index: number, contentId: number, resultList: GachaResult[]) {
|
private getPurpleFloor(count: number, index: number, contentId: number, resultList: GachaResult[]) {
|
||||||
if(count == 10 && index == count - 1) { // 10连到最后一抽
|
if(this.gachaType == GACHA_ID.NORMAL && count == 10 && index == count - 1) { // 10连到最后一抽
|
||||||
let { type, param } = gameData.gachaContent.get(contentId);
|
let { type, param } = gameData.gachaContent.get(contentId);
|
||||||
if(type != GACHA_CONTENT_TYPE.HERO || param[0] < HERO_QUALITY_TYPE.PURPLE) {
|
if(type != GACHA_CONTENT_TYPE.HERO || param[0] < HERO_QUALITY_TYPE.PURPLE) {
|
||||||
let hasPurple = false;
|
let hasPurple = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user