Package mage.target

Examples of mage.target.TargetSource


    private TargetSource target;

    public RuneOfProtectionBlackEffect() {
        super(Duration.EndOfTurn);
        target = new TargetSource(filter);
       
        staticText = "The next time a black source of your choice would deal damage to you this turn, prevent that damage";
    }
View Full Code Here


    private TargetSource target;

    public RuneOfProtectionRedEffect() {
        super(Duration.EndOfTurn);
        target = new TargetSource(filter);
       
        staticText = "The next time a red source of your choice would deal damage to you this turn, prevent that damage";
    }
View Full Code Here

        this.color.setWhite(true);

        // The next 2 damage that a source of your choice would deal to you and/or permanents you control this turn is dealt to target creature or player instead.
        this.getSpellAbility().addEffect(new HarmsWayPreventDamageTargetEffect());
        this.getSpellAbility().addTarget(new TargetSource());
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
    }
View Full Code Here

TOP

Related Classes of mage.target.TargetSource

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.