slight adjustments to transforms parsing to allow for newability to also be a transforms. xx wasnt being set in a couple cases, removed the space i added to the 3 variables so they can be anywhere in the line.

This commit is contained in:
omegablast2002@yahoo.com
2011-03-30 17:45:05 +00:00
parent 8557e441b0
commit cba0c1218f
4 changed files with 70 additions and 16 deletions
+2 -2
View File
@@ -325,7 +325,7 @@ int MTGAlternativeCostRule::reactToClick(MTGCardInstance * card, ManaCost *alter
else
{
copy->X = spell->computeX(copy);
copy->XX = spell->computeXX(copy);
copy->XX = copy->X/2;
}
}
@@ -723,7 +723,7 @@ int MTGMorphCostRule::reactToClick(MTGCardInstance * card)
if (!card->has(Constants::STORM))
{
copy->X = spell->computeX(copy);
copy->XX = spell->computeXX(copy);
copy->XX = copy->X/2;
}
return 1;
}