Run Effect: would be nice if it could run a rule card defined by a variable.
On the run effect action there is an option for running a rule card. It prompts you to write in the exact name of the rule card you wish to trigger.
I have made a rule card called "Play card" that is triggered by 'Game Initialization' instead of the usual "Play unit" "Play spell" etc. I am doing this because there is a lot of lines of code that repeat in each of those rules and I want a way to globally trigger that regardless of which cardtype is being played, in order to cut down the amount of flimsy code on each rulecard.
Essentially if I have a rule card called "Play unit" and I want to trigger it, then in the run effect action, if I then write "Play unit" into the rule card section, it runs just fine. However if I happen to have a variable containing the string "unit" and I write "Play $var" it does not work... Just to make sure I tried assigning a variable containing the value "Play $var" (thus creating a variable that contains "Play unit"). If I then input $newVar into the rule card section of the run effect action, it will once again fail to run.
Essentially it is impossible to use variables to define which rule card to run using run effect.
Left works, Right does not (while variable contains the correct string.)
Test case: https://dulst.com/game-49839540