mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
updated Tiny Leaders to allow planeswalkers as commanders
This commit is contained in:
parent
4b8a2c21d1
commit
105a919425
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
package mage.deck;
|
||||
|
||||
import mage.abilities.common.CanBeYourCommanderAbility;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.ExpansionSet;
|
||||
import mage.cards.Sets;
|
||||
|
@ -150,8 +149,7 @@ public class TinyLeaders extends Constructed {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
if ((commander.isCreature() && commander.isLegendary())
|
||||
|| (commander.isPlaneswalker() && commander.getAbilities().contains(CanBeYourCommanderAbility.getInstance()))) {
|
||||
if ((commander.isCreature() && commander.isLegendary()) || commander.isPlaneswalker()) {
|
||||
if (!bannedCommander.contains(commander.getName())) {
|
||||
FilterMana color = commander.getColorIdentity();
|
||||
for (Card card : deck.getCards()) {
|
||||
|
|
Loading…
Reference in a new issue