Package mage.abilities.keyword

Examples of mage.abilities.keyword.ModularAbility


        this.toughness = new MageInt(0);

        // Sacrifice an artifact: Put a +1/+1 counter on Arcbound Ravager.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new SacrificeTargetCost(new TargetControlledPermanent(filter))));
        // Modular 1
        this.addAbility(new ModularAbility(this, 1));
    }
View Full Code Here


        this.addAbility(new OnEventTriggeredAbility(
                GameEvent.EventType.UPKEEP_STEP_PRE,
                "beginning of your upkeep",
                new AddCountersAllEffect(CounterType.P1P1.createInstance(), filter)));
        // Modular 6
        this.addAbility(new ModularAbility(this, 6));
    }
View Full Code Here

        this.toughness = new MageInt(0);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Modular 1
        this.addAbility(new ModularAbility(this, 1));
    }
View Full Code Here

        this.toughness = new MageInt(0);

        // Haste
        this.addAbility(HasteAbility.getInstance());
        // Modular 2
        this.addAbility(new ModularAbility(this, 2));
    }
View Full Code Here

        this.subtype.add("Construct");
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Modular 1 (This enters the battlefield with a +1/+1 counter on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
        this.addAbility(new ModularAbility(this, 1));
    }
View Full Code Here

        this.subtype.add("Golem");
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Modular 3
        this.addAbility(new ModularAbility(this, 3));
    }
View Full Code Here

        this.subtype.add("Golem");
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Modular-Sunburst
        this.addAbility(new ModularAbility(this,0,true));

    }
View Full Code Here

        this.toughness = new MageInt(0);

        // First strike
        this.addAbility(FirstStrikeAbility.getInstance());
        // Modular 4
        this.addAbility(new ModularAbility(this, 4));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.ModularAbility

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.