Crew Ability Cost & Crewbonus

Revised cards to use {crew(targetchooser)} (modified taptargetcost) so
it can use crewbonus ability from other creatures.
This commit is contained in:
Anthony Calosa
2017-02-01 17:11:55 +08:00
parent c8dc416071
commit ea5e397595
10 changed files with 144 additions and 72 deletions

View File

@@ -297,6 +297,10 @@ ManaCost * ManaCost::parseManaCost(string s, ManaCost * _manaCost, MTGCardInstan
{
manaCost->addExtraCost(NEW CycleCost(tc));
}
else if(value.substr(0,4) == "crew")
{//tap crew
manaCost->addExtraCost(NEW TapTargetCost(tc,true));
}
else if(value.find("(") != string::npos)
{
size_t counter_start = value.find("(");