This commit is contained in:
Anthony Calosa
2017-02-01 22:37:00 +08:00
parent 711934a249
commit 80b6496780
4 changed files with 8 additions and 9 deletions

View File

@@ -3232,7 +3232,7 @@ int MTGLegendRule::receiveEvent(WEvent * event)
{
vector<MTGAbility*>selection;
TargetChooserFactory tfL(game);
tcL = tfL.createTargetChooser("*[share!name!]|mybattlefield",card->clone());
tcL = tfL.createTargetChooser("*[share!name!]|mybattlefield",card);
tcL->targetter = NULL;
tcL->maxtargets = card->countDuplicateCardNames()-1;
Legendrule = NEW AAMover(game, game->mLayers->actionLayer()->getMaxId(), card, NULL,"ownergraveyard","Put in Graveyard");