Name:Clowning Around
ManaCost:1 W
Types:Sorcery
A:SP$ Token | TokenAmount$ 2 | TokenScript$ w_1_1_a_clown_robot | SubAbility$ DBRoll | SpellDescription$ Create two 1/1 white Clown Robot artifact creature tokens, then roll a six-sided die. If the result is equal to or less than the number of Robots you control, create a 1/1 white Clown Robot artifact creature token.
SVar:DBRoll:DB$ RollDice | ResultSVar$ Result | ResultSubAbilities$ 1-6:DBToken
SVar:DBToken:DB$ Token | TokenScript$ w_1_1_a_clown_robot | ConditionCheckSVar$ Result | ConditionSVarCompare$ LEX
SVar:X:Count$Valid Robot.YouCtrl
Oracle:Create two 1/1 white Clown Robot artifact creature tokens, then roll a six-sided die. If the result is equal to or less than the number of Robots you control, create a 1/1 white Clown Robot artifact creature token.
