Cards with X cost information

for those who code cards with
in their casting cost, I've discovered a serious bug that crashes the game randomly (it has a workaround anyway).
Because the game engine doesn't support manual tapping of lands, the game is confused when
is combined with a generic/colorless mana like
.
Example card is Stroke of Genius. It has a casting cost of
.
(I've already changed the code of Stroke of Genius in the mod so it will not crash)
If you cast any card/s with
in the casting cost combined with a generic/colorless mana with different lands in play (Ex. Consume Spirit) the game will crash randomly.
Another example is Blaze. It has
casting cost. It will not crash BUT
if there is a Sphere of Resistance or Thorn of Amethyst or any cards that adds additional colorless mana to cast a spell in play. The game will crash randomly if the owner of Blaze has different basic lands in play.
It cannot allocate mana for
and the generic/colorless mana for
if your playing multicolored deck.
Workaround 1 is to make a deck that is monocolor
or
Workaround 2 is to remove
in the casting cost and add it as an Additional cost via trigger with forced_skip="1" parameters to use it in any deck that uses 3 or more colors to prevent game crash.


Because the game engine doesn't support manual tapping of lands, the game is confused when


Example card is Stroke of Genius. It has a casting cost of



(I've already changed the code of Stroke of Genius in the mod so it will not crash)
If you cast any card/s with

Another example is Blaze. It has


if there is a Sphere of Resistance or Thorn of Amethyst or any cards that adds additional colorless mana to cast a spell in play. The game will crash randomly if the owner of Blaze has different basic lands in play.
It cannot allocate mana for


Workaround 1 is to make a deck that is monocolor

Workaround 2 is to remove

