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,6 +575,8 @@ void GameObserver::gameStateBasedEffects()
|
|||||||
{
|
{
|
||||||
MTGCardInstance * c = z->cards[t];
|
MTGCardInstance * c = z->cards[t];
|
||||||
|
|
||||||
|
if(!c->isPhased)
|
||||||
|
{
|
||||||
if (c->has(Constants::TREASON))
|
if (c->has(Constants::TREASON))
|
||||||
{
|
{
|
||||||
WEvent * e = NEW WEventCardSacrifice(c);
|
WEvent * e = NEW WEventCardSacrifice(c);
|
||||||
@@ -587,6 +589,7 @@ void GameObserver::gameStateBasedEffects()
|
|||||||
p->game->putInExile(c);
|
p->game->putInExile(c);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if(nbcards > z->nb_cards)
|
if(nbcards > z->nb_cards)
|
||||||
{
|
{
|
||||||
t = 0;
|
t = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user