Fix Infinite Reward Reroll Bug

This commit is contained in:
xsn34kzx 2025-08-03 22:47:47 -04:00 committed by NightKev
parent 623b449d1f
commit 3eaae17acc

View File

@ -1010,12 +1010,9 @@ export class PermanentFaintChallenge extends Challenge {
}
override applyShopItem(shopItem: ModifierTypeOption | null, status: BooleanHolder): boolean {
if (status.value) {
status.value = shopItem?.type.group !== "revive";
return true;
}
return false;
}
override applyWaveReward(reward: ModifierTypeOption | null, status: BooleanHolder): boolean {
return this.applyShopItem(reward, status);