mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
* Becomes a copy abilities: improved support with MDF cards (#8335);
This commit is contained in:
parent
35b257bd8f
commit
afdae939c3
9 changed files with 141 additions and 18 deletions
|
|
@ -121,7 +121,7 @@ public class TestCardRenderDialog extends MageDialog {
|
|||
cardsList.add(newCard);
|
||||
game.loadCards(cardsList, controllerId);
|
||||
|
||||
Card permCard = CardUtil.getDefaultCardSideForBattlefield(newCard);
|
||||
Card permCard = CardUtil.getDefaultCardSideForBattlefield(game, newCard);
|
||||
if (extraAbilities != null) {
|
||||
extraAbilities.forEach(ability -> permCard.addAbility(ability));
|
||||
}
|
||||
|
|
@ -153,7 +153,7 @@ public class TestCardRenderDialog extends MageDialog {
|
|||
cardsList.add(newCard);
|
||||
game.loadCards(cardsList, controllerId);
|
||||
|
||||
Card permCard = CardUtil.getDefaultCardSideForBattlefield(newCard);
|
||||
Card permCard = CardUtil.getDefaultCardSideForBattlefield(game, newCard);
|
||||
|
||||
PermanentCard perm = new PermanentCard(permCard, controllerId, game);
|
||||
perm.setFaceDown(true, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue