fix legend rule
704.5k If a player controls two or more legendary permanents with the same name, that player chooses one of them, and the rest are put into their owners’ graveyards. This is called the “legend rule.” bury is destroy without regenerate, so when two legends of the same name has indestructible, bury will have no effect... I changed it to put into owners graveyard instead using mover...
This commit is contained in:
@@ -90850,7 +90850,7 @@ toughness=1
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
name=Skywise Teachings
|
name=Skywise Teachings
|
||||||
auto=@movedto(*[-creature]|mystack):pay[{1}{U}] name(Pay 1U mana) token(Djinn Monk,Creature Djinn Monk,2/2,flying,blue) controller
|
auto=@movedto(*[-creature]|mystack):pay({1}{U}) name(Pay 1U mana) token(Djinn Monk,Creature Djinn Monk,2/2,flying,blue) controller
|
||||||
text=Whenever you cast a noncreature spell, you may pay {1}{U}. If you do, put a 2/2 blue Djinn Monk creature token with flying onto the battlefield.
|
text=Whenever you cast a noncreature spell, you may pay {1}{U}. If you do, put a 2/2 blue Djinn Monk creature token with flying onto the battlefield.
|
||||||
mana={3}{U}
|
mana={3}{U}
|
||||||
type=Enchantment
|
type=Enchantment
|
||||||
|
|||||||
@@ -2518,16 +2518,14 @@ int MTGLegendRule::added(MTGCardInstance * card)
|
|||||||
MultiAbility * multi = NEW MultiAbility(game, game->mLayers->actionLayer()->getMaxId(), card, card, NULL);
|
MultiAbility * multi = NEW MultiAbility(game, game->mLayers->actionLayer()->getMaxId(), card, card, NULL);
|
||||||
for(unsigned int i = 0;i < oldCards.size();i++)
|
for(unsigned int i = 0;i < oldCards.size();i++)
|
||||||
{
|
{
|
||||||
AABuryCard *a = NEW AABuryCard(game, game->mLayers->actionLayer()->getMaxId(), card, oldCards[i]);
|
AAMover *a = NEW AAMover(game, game->mLayers->actionLayer()->getMaxId(), card, oldCards[i],"ownergraveyard","Keep New");
|
||||||
a->menu = "Keep New";
|
|
||||||
a->oneShot = true;
|
a->oneShot = true;
|
||||||
multi->Add(a);
|
multi->Add(a);
|
||||||
}
|
}
|
||||||
multi->oneShot = 1;
|
multi->oneShot = 1;
|
||||||
MTGAbility * a1 = multi;
|
MTGAbility * a1 = multi;
|
||||||
selection.push_back(a1);
|
selection.push_back(a1);
|
||||||
AABuryCard *b = NEW AABuryCard(game, game->mLayers->actionLayer()->getMaxId(), card, card);
|
AAMover *b = NEW AAMover(game, game->mLayers->actionLayer()->getMaxId(), card, card,"ownergraveyard","Keep Old");
|
||||||
b->menu = "Keep Old";
|
|
||||||
b->oneShot = true;
|
b->oneShot = true;
|
||||||
MTGAbility * b1 = b;
|
MTGAbility * b1 = b;
|
||||||
selection.push_back(b1);
|
selection.push_back(b1);
|
||||||
|
|||||||
Reference in New Issue
Block a user