phased cards shouldn't be removed from the game by treason or the effects of unearth if they we're phased out by an effect during the turn in which they were to be destroyed.
This commit is contained in:
@@ -575,17 +575,20 @@ void GameObserver::gameStateBasedEffects()
|
||||
{
|
||||
MTGCardInstance * c = z->cards[t];
|
||||
|
||||
if (c->has(Constants::TREASON))
|
||||
if(!c->isPhased)
|
||||
{
|
||||
WEvent * e = NEW WEventCardSacrifice(c);
|
||||
receiveEvent(e);
|
||||
if (c->has(Constants::TREASON))
|
||||
{
|
||||
WEvent * e = NEW WEventCardSacrifice(c);
|
||||
receiveEvent(e);
|
||||
|
||||
p->game->putInGraveyard(c);
|
||||
}
|
||||
if (c->has(Constants::UNEARTH))
|
||||
{
|
||||
p->game->putInExile(c);
|
||||
p->game->putInGraveyard(c);
|
||||
}
|
||||
if (c->has(Constants::UNEARTH))
|
||||
{
|
||||
p->game->putInExile(c);
|
||||
|
||||
}
|
||||
}
|
||||
if(nbcards > z->nb_cards)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user