add some cards from CMD to C13

This commit is contained in:
Anthony Calosa
2016-08-31 14:02:16 +08:00
parent 0b14639c66
commit 75921e1130
7 changed files with 197 additions and 19 deletions

View File

@@ -930,7 +930,10 @@ void GameObserver::gameStateBasedEffects()
MTGGameZone * z = players[i]->game->inPlay;
int nbcards = z->nb_cards;
//------------------------------
p->nomaxhandsize = (z->hasAbility(Constants::NOMAXHAND));
if(z->hasAbility(Constants::NOMAXHAND)||p->opponent()->inPlay()->hasAbility(Constants::OPPNOMAXHAND))
p->nomaxhandsize = true;
else
p->nomaxhandsize = false;
/////////////////////////////////////////////////
//handle end of turn effects while we're at it.//