fix copier token image

This commit is contained in:
Anthony Calosa
2017-01-26 15:32:17 +08:00
parent adcf6fb86d
commit 1428eeba06
10 changed files with 66 additions and 2 deletions

View File

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