Slay the Spire

Slay the Spire

Prune the Pool
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.
(Gk) Erasels  [作者] 2024 年 5 月 2 日 上午 3:32 
Mmmh, no, that's wrong. You're either running into a mod compatibility issue or the crash has nothing to do with this mod.
Jesus Cat (Fwyrl) 2024 年 5 月 2 日 上午 1:50 
This will crash to desktop if the player can select multiple card options from a card reward screen.
Vaartok 2024 年 4 月 25 日 上午 10:20 
This one just seems like cheating to me, but nicely done anyway. I guess some folks just add too many cards to their game with other mods and end up needing this.
(Gk) Erasels  [作者] 2024 年 1 月 26 日 上午 2:56 
Adding controller support is a massive pain in the behind, so only mouse is supported, sorry about that phylactery.

New update adds ZHS translation thanks to 泡泡茶壶
jalmpitt85 2023 年 10 月 23 日 下午 1:25 
I was try find exactly this mod, i really hate my bad luck rng, probably this will be best mod here to play happy
phylactery rich 2023 年 7 月 18 日 下午 1:06 
Is there anyway to activate the "Replace" button using a controller? Or is clicking with mouse the only way?
Fenrir 2023 年 2 月 16 日 上午 3:20 
Could you maybe add card pool infos?
Like "3 rare cards remaining"
That way we could avoid over banning :D
pgames-food 2022 年 11 月 28 日 下午 7:43 
this might help too, i still need to try it but seems like it could help:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2814267979
pgames-food 2022 年 11 月 28 日 下午 7:38 
hi hammypig there is a mod called oops all rares.
if you can somehow make claw a rare, then i think with a few prunings, you might be able to get a lot of claws for your game :)
hammythepig 2022 年 11 月 28 日 上午 9:40 
Ah fair enough, I did not read that part my bad.
I was trying to see if I could get a game with only Claw for fun :)
(Gk) Erasels  [作者] 2022 年 11 月 27 日 下午 11:53 
"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."

I really thought I could just advise caution and bank on people making sensible decisions, apparently I shouldn't have...
hammythepig 2022 年 11 月 27 日 下午 9:21 
I'm getting the same problem as others commented, when removing too many cards the game crashes
Блохастый 2022 年 8 月 19 日 下午 1:38 
Hi! Ready to share the UI translation into Russian? Please add it to the next update.
wbfw109 2022 年 5 月 16 日 上午 2:02 
If remainder of the number of pool is less than 4(?) and I click the "replace", following error occurs. (game will exit)

When I click "replace" button in many times, it occurs.
It looks like the exception is not handled.
https://pastebin.com/vVjm3tn1
Fenrir 2022 年 4 月 21 日 上午 8:43 
Hi,
i keep getting the error because of too many removed cards.
can you add an check to prevent removing cards if there are only 4 (or 3?) in that card rarity area?
Rave 2021 年 12 月 27 日 上午 5:16 
I just had a bug when I was on the reward screen of a boss, after clicking on the Prune the Pool icon on the top right to see the list of banned cards, the Reward screen disappeared (when I clicked Return next to the ban list, or clicked the icon again, can't remember which one I used to hide the list, the Reward screen didn't show). There was only the dark overlay on the win background (the one with the opened chest), but not the rewards UI.
Clicking on the Map or Deck icons, or showing the Bann List on/off again didn't help to bringing it back.
(Gk) Erasels  [作者] 2021 年 11 月 13 日 下午 12:34 
That's very weird, thanks for the report and for looking into it.
旅渚Lastcel 2021 年 11 月 13 日 下午 12:20 
Yes, I can see them added into the pruned cards screen, occasionally after I exclude a card. No hurry to fix, I'll try to pay attention to on what occasions that happens and give you further feedback.
(Gk) Erasels  [作者] 2021 年 11 月 13 日 上午 10:46 
Hmm, can you see the additional cards you think it removes in the pruned cards screen?
(the screen that pops up if you click on the pruned cards icon in the top right outside of combat)
旅渚Lastcel 2021 年 11 月 13 日 上午 1:10 
I don't know why, but this mod sometimes removes extra cards from the card pools besides cards clicked. Maybe that's because I'm running with mods that introduce new cards? Not fully tested though.
Neph 2021 年 10 月 26 日 上午 3:59 
I see! Thanks for the reply!
(Gk) Erasels  [作者] 2021 年 10 月 26 日 上午 12:56 
You removed too many cards. It's trying to generate new ones but none exist in whatever rarity it's trying to roll.
Neph 2021 年 10 月 25 日 下午 10:21 
Hi! My game keeps crashing/hanging whenever I click replace. The number deosnt seem to be constant, sometimes it crashes at the 3rd reroll, sometimes 5th. This is what I got.
https://imgur.com/a/HDplMJZ
HexNL 2021 年 9 月 20 日 下午 6:14 
I was searching for something to balance my fun/challenge A20 runs and this mod is perfect for it. Can we have an option that we can toggle on and off so the "remplace" doesnt remove the card for the entire run ? Thanks
(Gk) Erasels  [作者] 2021 年 9 月 15 日 下午 2:24 
Feel free to post the crashlog and I'd be willing to help you resolve the issue.
Argos 2021 年 9 月 15 日 下午 2:16 
Not working, just crashes the game when replace button is pushed
(Gk) Erasels  [作者] 2021 年 9 月 4 日 上午 5:49 
As many cards there are of that tier in your pool - the amount of cards you see in card rewards. (so 3 normally, 4 with question card)

There are around 18 common cards so you may at most 15 common cards.
Emilie Sackenball 2021 年 9 月 4 日 上午 5:01 
what are the "safe number" of cards you can ban from the pool?
Imakunee 2021 年 9 月 1 日 下午 6:43 
Thank you for your work on the mod. BIG fan of the options in the mod config menu! Been looking for a mod like this one.
(Gk) Erasels  [作者] 2021 年 8 月 27 日 上午 6:40 
Hmm, the starting settings I play with are 3 starting, 1 elite and 2 boss charges.
I tend to average 4 charges an act with that, which is pretty decent but still abundant.

If you'd prefer them to be somewhat scarce, set starting charges to 0 so you have to earn them first.
Metam0q 2021 年 8 月 27 日 上午 6:37 
i think the default settings need to be more balanced. it looks like you'll hardly run out of swaps. can anybody think of better settings?
AvangionQ 2021 年 8 月 26 日 上午 10:54 
This looks really good!!
(Gk) Erasels  [作者] 2021 年 8 月 25 日 下午 11:50 
Yep, that'll affect controlled chaos
C-Vale 2021 年 8 月 25 日 下午 10:50 
question: if you with the "controlled chaos" modifier and have "completely remove replaced cards" on, will that effect the controlled chaos card spawn? i assume so but im asking just in case
Zu 2021 年 8 月 25 日 下午 9:47 
Fun little tool you made there.
pgames-food 2021 年 8 月 25 日 下午 8:09 
(i spoke before seeing all the images) :)
pgames-food 2021 年 8 月 25 日 下午 8:07 
hi this could be fun, its just like starting a game with a relic with charges (like the one that lets us re-roll a dice to swap a reward screen item) :)

is there any chance of an option, which only has the re-roll and charge, but not the outright ban of cards? (that way it is still random, but also less chance of crashing)
Metam0q 2021 年 8 月 25 日 下午 7:43 
interesting idea. might try it out
The Worst 2021 年 8 月 25 日 下午 6:24 
Might use this to cut Grand Finale out every time I see it.
aldriedger 2021 年 8 月 25 日 下午 12:07 
This is a really cool idea!!!