BaseMod
BaseMod copied to clipboard
Slay the Spire mod which provides a modding API and a dev console
It happens in a few different modded characters. Please check attached screenshots.     I think it's quite recent issue, because I think it used to work properly.
https://i.imgur.com/Wwl5atY.png Should be pretty self explanatory. With many characters installed, the character list in custom games just stretches on and on until off the screen. Perhaps it should wrap or...
Documentation website for modding Slay the Spire, which will be able to be found at `https://daviscook477.github.io/Basemod` ### Features - BaseMod wiki is fully moved to the website - Key pieces...
P much self-explanatory, but just in case, that's what the log says ``` java.util.ConcurrentModificationException: null at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_171] at java.util.ArrayList$Itr.next(Unknown Source) ~[?:1.8.0_171] at basemod.BaseMod.publishStartGame(BaseMod.java:2032) ~[?:?] at basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.ActChangeHooks$SavedGameConstructor.Postfix(ActChangeHooks.java:49) ~[BaseMod.jar:?] at...
The BaseMod save game patches don't take into account the other save slots. The code should probably just use the base game's SaveAndContinue.getPlayerSavePath.
For instance, _returnRandomCurse()_ method in **_AbstractDungeon_** class calls _getCurse()_ method in **_CardLibrary_** class. Which only bans **AscendersBane**, **Necronomicurse** and **Pride** but not any custom curse. I tried to ban my...
Exception: java.util.ConcurrentModificationException 16:52:58.148 ERROR core.CardCrawlGame> Exception caught java.util.ConcurrentModificationException: null at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_171] at java.util.ArrayList$Itr.next(Unknown Source) ~[?:1.8.0_171] at basemod.BaseMod.publishPostDungeonInitialize(BaseMod.java:1887) ~[?:?] at basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.PostDungeonInitializeHook.Postfix(PostDungeonInitializeHook.java:9) ~[BaseMod.jar:?] at com.megacrit.cardcrawl.dungeons.AbstractDungeon.initializeRelicList(AbstractDungeon.java:1766) ~[?:?] at com.megacrit.cardcrawl.dungeons.Exordium.(Exordium.java:52) ~[?:?] at...
You can't store much information in an integer, sure you store enums, but you can't store most things, e.g. mapSymbols. Strings are more flexible, or maybe it should be generic.
Can you please tag the project with `SlayTheSpire-Mod`? This will help people browse github for mods
Right now, OnSmith is called, when you click the Smith button at a rest room. But u can just go back and click it again to trigger the method infinitely...