corrections

This commit is contained in:
Anthony Calosa
2017-03-08 22:44:34 +08:00
parent 5c159e86d7
commit 57f55e4270
4 changed files with 353 additions and 346 deletions
+6
View File
@@ -673,6 +673,12 @@ int AbilityFactory::parseCastRestrictions(MTGCardInstance * card, Player * playe
if(player->game->inPlay->hasName(card->name))
return 0;
}
check = restriction[i].find("before attackers");
if(check != string::npos)
{
if(cPhase > MTG_PHASE_COMBATBEGIN)
return 0;
}
check = restriction[i].find("before battle damage");
if(check != string::npos)
{