forked from External/mage
* Images: added tokens from Modern Horizons (MH1);
This commit is contained in:
parent
4148a572cf
commit
9c2714da53
19 changed files with 134 additions and 91 deletions
|
|
@ -1,24 +1,22 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import static javax.management.Query.value;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class KarnConstructToken extends TokenImpl {
|
||||
|
|
@ -30,18 +28,14 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
}
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("DOM"));
|
||||
tokenImageSets.addAll(Arrays.asList("DOM", "MH1"));
|
||||
}
|
||||
|
||||
public KarnConstructToken() {
|
||||
this("DOM");
|
||||
}
|
||||
|
||||
public KarnConstructToken(String setCode) {
|
||||
super("Construct", "0/0 colorless Construct artifact creature token with \"This creature gets +1/+1 for each artifact you control.\"");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
this.setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.CONSTRUCT);
|
||||
|
|
@ -52,7 +46,7 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new BoostSourceEffect(value, value, Duration.WhileOnBattlefield)
|
||||
.setText("This creature gets +1/+1 for each artifact you control")
|
||||
.setText("This creature gets +1/+1 for each artifact you control")
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue