Re: Cost Reorganization
Pretty much, except Cost should check if you can pay a whole cost before it even lets you try. It's more like you start paying for a Cost and then realize you don't want to pay the rest of the cost.silly freak wrote:as I understand it, this will only influence aborting to pay partially paid costs, i.e. sacrifice something, then realize you can't pay the rest of the cost. reverting the successfully played ability of Black Lotus will only be possible with a revertible game state representation
In general, the reorganization was to make each cost it's own entity to improve future testability as well as making it clearer what is needed to add new costs. Before everything was in one file, which made it difficult to see what was happening. Now each cost has a file that is structured very similarly, and they all handle anything related to that type of cost.
Edit: Cleaning up some sloppy spelling from not quite being awake.
)