Slay the Spire

Slay the Spire

The Avocado
AvangionQ 1 Jul, 2022 @ 12:08am
Conflict with Corrupt the Spire
Avocado run ... I played Fragmentize with Coroutine+ (triples the attack randomly) ... crash on second hit.

Mods in stacktrace:
- CorruptTheSpire (1.2.2)
Cause:
java.lang.ClassCastException: paparatto.characters.AvocadoCharacter cannot be cast to com.megacrit.cardcrawl.monsters.AbstractMonster
at corruptthespire.actions.FragmentizeAction.update(FragmentizeAction.java:30)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
< >
Showing 1-1 of 1 comments
Jerry 5 Jul, 2022 @ 11:35am 
Good thing I'm checking out Avocado's comment section too. That's my fault.

While I'm procrastinating, just here to explain that as you know, Coroutine allows cards that target enemies to also target the player. Usually this works fine, but sometimes certain effects expect their targets to specifically be targeted at monsters. Bad Defect """solves""" this issue by manually suppressing any of such crashes and cancelling the effect when a crash is suppressed. Apparently, I forgot to turn the crash suppression on, it'll be up on the next Bad Spire update.
< >
Showing 1-1 of 1 comments
Per page: 1530 50