Package mage.abilities.effects.common.continious

Examples of mage.abilities.effects.common.continious.MaximumHandSizeControllerEffect


        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Your maximum hand size is reduced by three.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new MaximumHandSizeControllerEffect(3, Duration.WhileOnBattlefield, HandSizeModification.REDUCE)));
    }
View Full Code Here


        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Your maximum hand size is reduced by four.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new MaximumHandSizeControllerEffect(4, Duration.WhileOnBattlefield, HandSizeModification.REDUCE)));
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Your maximum hand size is reduced by two.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new MaximumHandSizeControllerEffect(2, Duration.WhileOnBattlefield, HandSizeModification.REDUCE)));
    }
View Full Code Here

        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // Each opponent's maximum hand size is reduced by one.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new MaximumHandSizeControllerEffect(1, Duration.WhileOnBattlefield, HandSizeModification.REDUCE, TargetController.OPPONENT)));
    }
View Full Code Here

    public VensersJournal(UUID ownerId) {
        super(ownerId, 220, "Venser's Journal", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{5}");
        this.expansionSetCode = "SOM";

        // You have no maximum hand size.
        Effect effect = new MaximumHandSizeControllerEffect(Integer.MAX_VALUE, Duration.WhileOnBattlefield, HandSizeModification.SET);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));

        // At the beginning of your upkeep, you gain 1 life for each card in your hand.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new GainLifeEffect(new CardsInControllerHandCount()), TargetController.YOU, false));
    }
View Full Code Here

*/
class TamiyoTheMoonSageEmblem extends Emblem {

    public TamiyoTheMoonSageEmblem() {
        this.setName("EMBLEM: Tamiyo, the Moon Sage");
        Ability ability = new SimpleStaticAbility(Zone.COMMAND, new MaximumHandSizeControllerEffect(Integer.MAX_VALUE, Duration.EndOfGame, HandSizeModification.SET));
        this.getAbilities().add(ability);
        this.getAbilities().add(new TamiyoTheMoonSageTriggeredAbility());
    }
View Full Code Here

    public Spellbook(UUID ownerId) {
        super(ownerId, 220, "Spellbook", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{0}");
        this.expansionSetCode = "M10";

        // You have no maximum hand size.
        Effect effect = new MaximumHandSizeControllerEffect(Integer.MAX_VALUE, Duration.WhileOnBattlefield, HandSizeModification.SET);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.continious.MaximumHandSizeControllerEffect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.