-Issue 31 fixed. Land and tokens don't use the stack anymore. Taking control of a card in opponent's battlefield doesn't trigger "spell cast" triggers either
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-09-22 14:45:01 +00:00
parent 7f396b13b4
commit f5ddbd2396
11 changed files with 53 additions and 30 deletions
+3 -3
View File
@@ -748,7 +748,7 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
card->target = spell->getNextCardTarget();
if (card->target && !spell->tc->canTarget(card->target)){
MTGPlayerCards * zones = card->controller()->game;
zones->putInGraveyard(card);
zones->putInZone(card,spell->from,card->owner->game->graveyard);
return; //fizzle
}
}
@@ -1523,13 +1523,13 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
{
Player * player = spell->getNextPlayerTarget();
if (player->life < (INT_MAX / 4) ) player->life += player->life;
zones->putInZone(card,zones->stack,zones->library);
zones->putInZone(card,spell->from,zones->library);
zones->library->shuffle();
break;
}
case 135262:// Beacon of Destruction & unrest
{
zones->putInZone(card,zones->stack,zones->library);
zones->putInZone(card,spell->from,zones->library);
zones->library->shuffle();
break;
}