Slay the Spire

Slay the Spire

Wilson (DST)
 Dette emnet er festet, så det er nok viktig
Vector  [utvikler] 27. nov. 2023 kl. 22.14
Found any BUGS? Come here!
:stress: Please report any found bugs here.

The more datails, faster the fixing of them will be!
Sist redigert av Vector; 27. nov. 2023 kl. 22.14
< >
Viser 110 av 10 kommentarer
Sagil 28. nov. 2023 kl. 0.05 
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  [utvikler] 28. nov. 2023 kl. 9.35 
Thanks, I've found out thanks to the people in the discord. Bug fixed for the next version!
Duende2771 7. nov. 2024 kl. 16.19 
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  [utvikler] 7. nov. 2024 kl. 16.26 
@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  [utvikler] 9. nov. 2024 kl. 10.14 
@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. kl. 5.47 
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  [utvikler] 23. feb. kl. 8.04 
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. kl. 16.33 
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. kl. 19.43 
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  [utvikler] 26. feb. kl. 14.57 
@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:
< >
Viser 110 av 10 kommentarer
Per side: 1530 50