mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-06 15:39:27 +02:00
Fix Infinite Reward Reroll Bug
This commit is contained in:
parent
c2408fdce0
commit
2a7da4681f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user