Added the possibility to specify a name for Kicker cost and Retrace cost with "name()" keyword, implemented Escape cost with Retrace cost, implemented Fuse cost with Kicker cost, fixed several primitives.
This commit is contained in:
@@ -51,6 +51,10 @@ CardPrimitive::CardPrimitive(CardPrimitive * source)
|
||||
//increasedCost.copy(source->getIncreasedManaCost());
|
||||
if(source->getManaCost()->getAlternative())
|
||||
manaCost.getAlternative()->alternativeName = source->getManaCost()->getAlternative()->alternativeName;
|
||||
if(source->getManaCost()->getKicker())
|
||||
manaCost.getKicker()->alternativeName = source->getManaCost()->getKicker()->alternativeName;
|
||||
if(source->getManaCost()->getRetrace())
|
||||
manaCost.getRetrace()->alternativeName = source->getManaCost()->getRetrace()->alternativeName;
|
||||
|
||||
text = source->text;
|
||||
formattedText = source->formattedText;
|
||||
|
||||
Reference in New Issue
Block a user