Slay the Spire

Slay the Spire

Wilson (DST)
 This topic has been pinned, so it's probably important
Vector  [developer] 27 Nov, 2023 @ 10:14pm
Found any BUGS? Come here!
:stress: Please report any found bugs here.

The more datails, faster the fixing of them will be!
Last edited by Vector; 27 Nov, 2023 @ 10:14pm
< >
Showing 1-10 of 10 comments
Sagil 28 Nov, 2023 @ 12:05am 
You can get Wolfgang's Body (upgrade of the starter relic) even if you don't have the starter relic anymore (due to Neow reward choice).
Vector  [developer] 28 Nov, 2023 @ 9:35am 
Thanks, I've found out thanks to the people in the discord. Bug fixed for the next version!
Duende2771 7 Nov, 2024 @ 4:19pm 
Winning the card game against Maxwell and gaining the locket while not playing Wilson will crash your game at the next combat room. An easy solution would be to add a config to disable DST events if not playing Wilson, but events like Warly's still work fine and his card works as it should.

I just lost one of my runs because of this. It's very inconvenient, although I know I didn't have to play Maxwell's game. It's kinda on me.
Vector  [developer] 7 Nov, 2024 @ 4:26pm 
@Duende2771 Thanks a lot for the bug report and your suggestion! Is a very clever idea to solve this issue.

In any case I will search for something to avoid that.
Vector  [developer] 9 Nov, 2024 @ 10:14am 
@Duende2771 I've fixed this issue following your suggestion! I've tested a few times with Ironclad, and seams to be working as expected.

Now, all the Wilson events (that uses or need some of his mechanics) should be inside the character specific pool.

I will just make sure and upload it right now!
Sagil 23 Feb @ 5:47am 
Crash bug when auto-playing (mayhem effect) Brightshade Bomb:

publish on card use: dstmod:Brightshade_Bomb
13:44:00.141 INFO core.CardCrawlGame> Exception occurred in CardCrawlGame render method!
13:44:00.142 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at com.megacrit.cardcrawl.actions.common.DamageAllEnemiesAction.update(DamageAllEnemiesAction.java:98) ~[?:?]
Vector  [developer] 23 Feb @ 8:04am 
Hummm... weird bug, I'm gonna take a look soon. I will update the mod for the chinese tranlation, and also try to solve this bug with the mayhem effect.

Can you describe if you used another mod with Wilson?
Like... Mayhem effect is from Ironclad if I'm not mistaken.
Sagil 23 Feb @ 4:33pm 
I'm using a number of other mods, and the auto-play is triggered by a relic. It's a fairly common issue with DamageAllEnemiesAction. I haven't debugged it myself yet, but I'm guessing this.damage hasn't been initialized. Maybe looks at a core card like cleave and compare your action parameters.

Also seems to happen with the Tentacles card:

publish on card use: dstmod:On_Tentacles
00:14:28.060 INFO core.CardCrawlGame> Exception occurred in CardCrawlGame render method!
00:14:28.061 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at com.megacrit.cardcrawl.actions.common.DamageAllEnemiesAction.update(DamageAllEnemiesAction.java:98) ~[?:?]
Sagil 23 Feb @ 7:43pm 
Had a look at your BrightShade Bomb. Your card does this:

public Brightshade_Bomb() { super(ID, info); setDamage(18, 4); setExhaust(true); } public void use(AbstractPlayer p, AbstractMonster m) { addToBot((AbstractGameAction)new DamageAllEnemiesAction((AbstractCreature)p, this.multiDamage, this.damageTypeForTurn, AbstractGameAction.AttackEffect.FIRE)); }

You are using this.multiDamage, but since you did not set this.isMultiDamage = true in the constructor, multiDamage is not getting initialized (in AbstractCard.applyPowers). However, it works when played from your hand, since as part of the targeting action the damage preview is calculated, which initializes multiDamage even when isMultiDamage is not set (in AbstractCard.calculateCardDamage).

So setting isMultiDamage to true in the constructor should fix the issue. :spazdreaming:
Vector  [developer] 26 Feb @ 2:57pm 
@Sagil Hey, THANKS A LOT for not only knowing the exact issue but also practically give me the code. I wish all the other bugs were reported/solved like this :alhappy:

Check the mod again, I've added the line in both cards. And the Overcoming Arachnofobia card already had the exact line lol. :DSTskull:
< >
Showing 1-10 of 10 comments
Per page: 1530 50