Package mage.watchers.common

Examples of mage.watchers.common.ManaSpentToCastWatcher


                new ManaWasSpentCondition(ColoredManaSymbol.U), "Creatures your opponents control get -1/0 until end of turn if {U} was spent to cast {this},"));
        this.getSpellAbility().addEffect(new ConditionalContinousEffect(
                new BoostAllEffect(1, 0, Duration.EndOfTurn, filter2, false),
                new ManaWasSpentCondition(ColoredManaSymbol.R), " and creatures you control get +1/0 until end of turn if {R} was spent to cast it"));
        this.addInfo("Info1", "<i>(Do both if {U}{R} was spent.)</i>");
        this.addWatcher(new ManaSpentToCastWatcher());
       
    }
View Full Code Here


        this.getSpellAbility().addEffect(new ConditionalContinousEffect(
                new GainAbilityControlledEffect(FlyingAbility.getInstance(), Duration.EndOfTurn),
                new LockedInCondition(new ManaWasSpentCondition(ColoredManaSymbol.U)),
                "and creatures you control gain flying until end of turn if {U} was spent to cast it"));
        this.addInfo("Info1", "<i>(Do both if {G}{U} was spent.)<i>");
        this.addWatcher(new ManaSpentToCastWatcher());
    }
View Full Code Here

        // When Tin Street Hooligan enters the battlefield, if {G} was spent to cast Tin Street Hooligan, destroy target artifact.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ConditionalOneShotEffect(new DestroyTargetEffect(), new ManaWasSpentCondition(ColoredManaSymbol.G),
                "if {G} was spent to cast {this}, destroy target artifact"), false);
        ability.addTarget(new TargetArtifactPermanent());       
        this.addAbility(ability);
        this.addWatcher(new ManaSpentToCastWatcher());
    }
View Full Code Here

TOP

Related Classes of mage.watchers.common.ManaSpentToCastWatcher

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.