Slay the Spire

Slay the Spire

82 个评价
Prune the Pool
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
112.884 KB
2021 年 8 月 25 日 上午 11:57
2024 年 5 月 3 日 上午 2:11
5 项改动说明 ( 查看 )

订阅以下载
Prune the Pool

描述
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.
50 条留言
Lemon 8 月 3 日 下午 12:32 
Mod crashing from pruning too much?
I recommend you run Fabricate with this mod. If the card pool becomes too small, fabricate will add a blank card to the pool instead of making the game crash.
JKingJ 3 月 12 日 上午 2:38 
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)
再见雪豹 2024 年 11 月 9 日 上午 2:43 
great!
Ripz 2024 年 10 月 31 日 下午 2:11 
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 2024 年 9 月 9 日 上午 4:25 
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 2024 年 5 月 7 日 上午 8:27 
<3
(Gk) Erasels  [作者] 2024 年 5 月 7 日 上午 5:41 
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 2024 年 5 月 7 日 上午 5:13 
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  [作者] 2024 年 5 月 3 日 上午 2:13 
Alright, added a little compatibility change. I haven't tested it but it should at least not crash anymore.
Jesus Cat (Fwyrl) 2024 年 5 月 2 日 下午 6:25 
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.