SotMSteamMods / CauldronMods

Mod adaptations of the Cauldron decks for Sentinels of the Multiverse for Steam Workshop
MIT License
15 stars 9 forks source link

Anathema Evolved - Body Parts Die at Negative HP #1667

Closed wrhyme29 closed 8 months ago

wrhyme29 commented 8 months ago

Closes #1643

I'm not sure why they aren't auto destroying when indestructibility disappears if they have negative HP, but this is a workaround that will scan for any negative hp body parts on transition away from Anathema's turn

jamespicone commented 8 months ago

The engine doesn't check for needing to destroy things that stop being indestructible, you have to do it yourself. See Fixed Point. There's a GameController.DestroyAnyCardsThatShouldBeDestroyed function. Maybe just have a trigger that calls that function on phase changes?

wrhyme29 commented 8 months ago

I wasn't aware of that - I've updated accordingly