added support for no max hand size, added nonstatic lifetotal checks, added a check for how many equips a card has, added a fix for a typo in affinityswamp.
This commit is contained in:
@@ -87,7 +87,15 @@ void MTGPlayerCards::drawFromLibrary(){
|
||||
if (c->has(Constants::CANTLOSE) || c->has(Constants::CANTMILLLOSE)){
|
||||
cantlosers++;
|
||||
}
|
||||
}
|
||||
}
|
||||
MTGGameZone * k = library->owner->opponent()->game->inPlay;
|
||||
int onbcards = k->nb_cards;
|
||||
for (int m = 0; m < onbcards; ++m){
|
||||
MTGCardInstance * e = k->cards[m];
|
||||
if (e->has(Constants::CANTWIN)){
|
||||
cantlosers++;
|
||||
}
|
||||
}
|
||||
if(cantlosers < 1){
|
||||
GameObserver::GetInstance()->gameOver = library->owner;}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user