fix for rainbow effert
This commit is contained in:
@@ -3184,7 +3184,7 @@ void AbilityFactory::addAbilities(int _id, Spell * spell)
|
||||
if (spell->getNbTargets() == 1)
|
||||
{
|
||||
card->target = spell->getNextCardTarget();
|
||||
if (card->target && !spell->tc->canTarget(card->target))
|
||||
if (card->target && (!spell->tc->canTarget(card->target) || card->target->isTempPhased))
|
||||
{
|
||||
MTGPlayerCards * zones = card->controller()->game;
|
||||
zones->putInZone(card, spell->from, card->owner->game->graveyard);
|
||||
|
||||
Reference in New Issue
Block a user