Package mage.abilities.effects.common.continious

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


        this.color.setBlue(true);
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Serpent of the Endless Sea's power and toughness are each equal to the number of Islands you control.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.EndOfGame)));
        // Serpent of the Endless Sea can't attack unless defending player controls an Island.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SerpentOfTheEndlessSeaEffect()));
    }
View Full Code Here


        // Vigilance
        this.addAbility(VigilanceAbility.getInstance());
        // Cantivore's power and toughness are each equal to the number of enchantment cards in all graveyards.
        DynamicValue value = (new CardsInAllGraveyardsCount(filter));
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(value , Duration.EndOfGame)));
    }
View Full Code Here

        // Trample
        this.addAbility(TrampleAbility.getInstance());
       
        // Altar Golem's power and toughness are each equal to the number of creatures on the battlefield.
        DynamicValue amount = new PermanentsOnBattlefieldCount(new FilterCreaturePermanent("creatures in play"));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SetPowerToughnessSourceEffect(amount, Duration.WhileOnBattlefield)));
       
        // Altar Golem doesn't untap during your untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));
       
        // Tap five untapped creatures you control: Untap Altar Golem.
View Full Code Here

        this.color.setRed(true);
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Malignus's power and toughness are each equal to half the highest life total among your opponents, rounded up.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new HighestLifeTotalAmongOpponentsCount(), Duration.EndOfGame)));

        // Damage that would be dealt by Malignus can't be prevented.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new MalignusEffect()));
    }
View Full Code Here

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

        this.addAbility(FearAbility.getInstance());
        // Crowd of Cinders's power and toughness are each equal to the number of black permanents you control.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.EndOfGame)));
    }
View Full Code Here

TOP

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

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.