Slay the Spire

Slay the Spire

Wilson (DST)
 このトピックはピン留めされているので、おそらく重要です
Vector  [開発者] 2023年11月27日 22時14分
Found any BUGS? Come here!
:stress: Please report any found bugs here.

The more datails, faster the fixing of them will be!
最近の変更はVectorが行いました; 2023年11月27日 22時14分
< >
1-10 / 10 のコメントを表示
Sagil 2023年11月28日 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  [開発者] 2023年11月28日 9時35分 
Thanks, I've found out thanks to the people in the discord. Bug fixed for the next version!
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  [開発者] 2024年11月7日 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  [開発者] 2024年11月9日 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!
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  [開発者] 2月23日 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.
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) ~[?:?]
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  [開発者] 2月26日 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:
< >
1-10 / 10 のコメントを表示
ページ毎: 1530 50