🐞 fix(学宫): 修改选择题奖励
This commit is contained in:
@@ -290,7 +290,8 @@ export class RougeEffect {
|
||||
const { cardCode, cardId, useCount = 0, type } = cur;
|
||||
const holyCardData = gameData.rougeHolyCard.get(cardId);
|
||||
let tempUseCount = holyCardData?.useCount || 0;
|
||||
if (tempUseCount > 0 && useCount > 0 && type == ROUGE_LIKE_CARD_TYPE.HOLY) canRandomCards.push(cur);
|
||||
if (tempUseCount - useCount <= 0 && type == ROUGE_LIKE_CARD_TYPE.HOLY) canRandomCards.push(cur);
|
||||
|
||||
})
|
||||
|
||||
let randomCards = getRandEelm(canRandomCards, num);
|
||||
|
||||
Reference in New Issue
Block a user