Examples of BlocksTriggeredAbility


Examples of mage.abilities.common.BlocksTriggeredAbility

        this.toughness = new MageInt(6);

        // Defender
        this.addAbility(DefenderAbility.getInstance());
        // Whenever Shield Sphere blocks, put a -0/-1 counter on it.
        this.addAbility(new BlocksTriggeredAbility(new AddCountersSourceEffect(new BoostCounter(0, -1)), false));
    }
View Full Code Here

Examples of mage.abilities.common.BlocksTriggeredAbility

        this.toughness = new MageInt(3);

        // Whenever Fortress Cyclops attacks, it gets +3/+0 until end of turn.
        this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(3,0, Duration.EndOfTurn), false));
        // Whenever Fortress Cyclops blocks, it gets +0/+3 until end of turn.
        this.addAbility(new BlocksTriggeredAbility(new BoostSourceEffect(0,3, Duration.EndOfTurn), false));
    }
View Full Code Here

Examples of mage.abilities.common.BlocksTriggeredAbility

        this.power = new MageInt(0);
        this.toughness = new MageInt(3);
       
        this.addAbility(DefenderAbility.getInstance());
        // Whenever Pride Guardian blocks, you gain 3 life.
        this.addAbility(new BlocksTriggeredAbility(new GainLifeEffect(3), false));
    }
View Full Code Here

Examples of mage.abilities.common.BlocksTriggeredAbility

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

        // Whenever Serene Master blocks, exchange its power and the power of target creature it's blocking until end of combat.
        this.addAbility(new BlocksTriggeredAbility(new SereneMasterEffect(), false));

    }
View Full Code Here

Examples of mage.abilities.common.BlocksTriggeredAbility

        // Defender
        this.addAbility(DefenderAbility.getInstance());
        // When Cinder Wall blocks, destroy it at end of combat.
        this.addAbility(
                new BlocksTriggeredAbility(new CreateDelayedTriggeredAbilityEffect(new AtTheEndOfCombatDelayedTriggeredAbility(new DestroySourceEffect()))
                , false));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.