LeoOuyang24 / DarkestDungeonPokemonGame

balls
1 stars 1 forks source link

Using Consume disables pass turn #57

Closed LeoOuyang24 closed 1 month ago

LeoOuyang24 commented 1 month ago

It's not consume that disables passturn, it's clicking on another creature. Doing so will (very temporarily) set that creature as the selected creature, which will have all of its buttons disabled as it is not the "current" creature. For the regular move buttons, they are reenabled by LearnNewMove, which reenables them based on cooldowns. PassButton is not part of it so it doesn't get reenabled and thus stays disabled.

My current solution is just to treat PassButton differently when a creature is set in teh CurrentSummary. PassButton's disabled state is purely based on if the creature is current or not.