3 fixes,
first you are not allowed to mulligen the opponents hand. second persist was using the stack on its returning effect, this is incorrect as per MTG rules for persist, the card is supposed to go from the grave directly to inplay(grave -> temp -> inplay, in our case). third, tokens models don't have names, so i make it check now for a name size on the model before clearing and resetting in tranformer.
This commit is contained in:
@@ -1778,7 +1778,7 @@ int MTGPersistRule::receiveEvent(WEvent * event)
|
||||
Player * p = game->players[i];
|
||||
if (e->to == p->game->graveyard)
|
||||
{
|
||||
MTGCardInstance * copy = p->game->putInZone(e->card, p->game->graveyard, e->card->owner->game->stack);
|
||||
MTGCardInstance * copy = p->game->putInZone(e->card, p->game->graveyard, e->card->owner->game->temp);
|
||||
if (!copy)
|
||||
{
|
||||
DebugTrace("MTGRULES: couldn't move card for persist");
|
||||
|
||||
Reference in New Issue
Block a user