Slay the Spire

Slay the Spire

79 ratings
Prune the Pool
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
112.884 KB
25 Aug, 2021 @ 11:57am
3 May, 2024 @ 2:11am
5 Change Notes ( view )

Subscribe to download
Prune the Pool

Description
This mod adds a button above every card in the card rewards. When clicked the associated card will get replaced by a new, randomly rolled card and it will be removed from the card pools, so it won't spawn again that run.

To balance the increase in power through mitigating RNG, the player starts with 5 charges, gaining some when killing elites and bosses.

The charges are completely customizeable in the mod config menu.

Essentially, this mod allows players to slowly trim the card pool over the course of the run, to easier enable some synergies or remove some undesireable cards.

Note to people who play the game in endless mode or change the charge settings:
It is possible to crash the game if you remove the majority of all cards of a single rarity. This is not really achievable in a standard game, however I advise caution to those who target ban rare or common cards.
49 Comments
JKingJ 12 Mar @ 2:38am 
I think I found a bug/incompatibility. For some reason this mod crashes the game when you get the Match and Keep event. Same applies when playing the Curated Challenge that replaces card rewards with Match and Keep. Something about the buttons on the reward screen.

at PruneThePool.patches.ButtonPatches$GenerateButtons.patch(ButtonPatches.java:28)
at com.megacrit.cardcrawl.screens.CardRewardScreen.open(CardRewardScreen.java:639)
and at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
再见雪豹 9 Nov, 2024 @ 2:43am 
great!
Ripz 31 Oct, 2024 @ 2:11pm 
it be nice to be able to spend a charge to add a pruned card back to the pool.

also if charges were dropped as possible relics instead, it be a lot more balanced with the rest of the game imo
Mavoc 9 Sep, 2024 @ 4:25am 
What about instead of fixing the crash, you just prevent it from happening. Have a minimum number of unblocked cards per rarity and disable the replace button once you get to that point. Another thing that would be helpful would be a card counter on the card reward screen that would allow us to see the number of cards left in each rarity pool so we can avoid pruning too many.
candy 7 May, 2024 @ 8:27am 
<3
(Gk) Erasels  [author] 7 May, 2024 @ 5:41am 
All my released mods are in open github repos
https://github.com/erasels/PruneThePool

Just to note though, I know of a way to fix the crash that happens when you prune too many cards, i just didn't like the side effect and decided that I'd just trust in the players. Your solution must be efficient and not advance RNG unduly to be merged.
candy 7 May, 2024 @ 5:13am 
Hi, is this open source? Maybe I could try to fix the bugs with shop and pruning too many cards from a pool.
(Gk) Erasels  [author] 3 May, 2024 @ 2:13am 
Alright, added a little compatibility change. I haven't tested it but it should at least not crash anymore.
Jesus Cat (Fwyrl) 2 May, 2024 @ 6:25pm 
With Risk of Relics, using Artifact of Command, the Executive Card, and the Broken Crown, selecting any card from a reward causes this mod to access past the end of the array (by 1) storing the card reward pool.
(Gk) Erasels  [author] 2 May, 2024 @ 3:32am 
Mmmh, no, that's wrong. You're either running into a mod compatibility issue or the crash has nothing to do with this mod.