revised aacopier

I think we still need to change legend to a trigger once it detects
multiple legends in play then trigger it at once with targetchooser to
select which cards to sacrifice as state based... vector of  unique
names or id or mtgcardinstance?
This commit is contained in:
Anthony Calosa
2017-01-29 16:09:49 +08:00
parent 2c5f6d8332
commit 348ada3f0d
3 changed files with 20 additions and 24 deletions

View File

@@ -537,6 +537,13 @@ int AbilityFactory::parseCastRestrictions(MTGCardInstance * card, Player * playe
return 0;
}
check = restriction[i].find("copiedacard");
if(check != string::npos)
{
if(!card->isACopier)
return 0;
}
check = restriction[i].find("geared");
if (check != string::npos)
{