My next card support code project might be Split Cards. I've been reading up a bit on the rules for those cards and I have a few questions about the potential implementation:
- Since split cards have two costs, how should the deck editor treat them as far as CMC goes? E.g. when a card like that goes to deck, and, let's say, if the mana costs of two sides are 1 and 4, respectively, does the deck editor show it as a CMC 1 card going into deck, a CMC 4 card going into deck, or both of those? :\ (I mean in statistics).
- The same question is valid for colors in the deck editor - should the deck editor treat them as multicolored cards if each side has its own color?
- As far as rendering the mana cost goes, would it be OK to display it like <first card cost>/<second card cost>?
- As far as naming the card goes, we can use either a slash (/) or a double slash (//) notation. The card picture renderer will then, if it encounters a card named like that, convert the name to the appropriate full card picture name (e.g. NightDay.full.jpg, or whatever it's named, I'll look it up) and then load it.
Also, it is very important for me to understand where we stand at the moment. Let's say, if I were to come up with a mock script for the future "
Night // Day" card implementation, what exactly could I do already? For example:
- Would it be possible, in principle, to code a card that would have two different effects with two different mana costs? As far as I know, Forge currently doesn't support the fact that each side has its own color, but outside of that issue, is that doable using, for instance, the flip card mechanism (for one and the same color)?
- Is it a good idea to base the Split card implementation on the existing Flip card implementation? That implementation has two alternate card scripts in one, I can see, which may be a good starting point for a similar implementation for the Split cards.
- How should we go about the fact that the card has two CMCs (one per side) and should yield two results to whichever effect is asking it for CMC? In Comprehensive Rules, it is said that the card can return two answers to the query (1, and 4 - if two sides have CMCs 1 and 4, respectively). What should I look into in order to extend the functionality in this respect?
- Is there anything else you believe I need to be aware of in order to implement this?
Thanks in advance for your help.
- Agetian