Re: Card Development Questions
I've been able to get Johtull to work without the NumBlockersMinus1 parameter with some tinkering to calculateAmount. I think it has to do with how calculateAmount delegates to xCount and some info that isn't retained (and shouldn't be).Will report back with more info and hopefully a fix.
EDIT: Okay, yeah, I see it now. When AF_Pump gets to sees "Number$" in X it delegates the calculation to xCount (omitting the spellability, because xCount must sometimes function without one), then xCount processes the XMath (Times.Z) and recurses to calculate Z. Unfortunately it recurses to xCount again, which doesn't have access to the spellability required to calculate the TriggerCount in Z. To solve this, I added a block to calculateAmount which handles "SVar$" calculations.If it catches one, it recurses to itself to calculate that SVar first, letting you use TriggerCount and whatnot properly.
tl;dr check out r10928.
EDIT: Okay, yeah, I see it now. When AF_Pump gets to sees "Number$" in X it delegates the calculation to xCount (omitting the spellability, because xCount must sometimes function without one), then xCount processes the XMath (Times.Z) and recurses to calculate Z. Unfortunately it recurses to xCount again, which doesn't have access to the spellability required to calculate the TriggerCount in Z. To solve this, I added a block to calculateAmount which handles "SVar$" calculations.If it catches one, it recurses to itself to calculate that SVar first, letting you use TriggerCount and whatnot properly.
tl;dr check out r10928.