Package mage.abilities.keyword

Examples of mage.abilities.keyword.PersistAbility


        this.toughness = new MageInt(2);

        // {WB}{WB}{WB}: Restless Apparition gets +3/+3 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(3, 3, Duration.EndOfTurn), new ManaCostsImpl("{W/B}{W/B}{W/B}")));
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here


        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new ManaCostsImpl("{U}"));
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetSpell(filter));
        this.addAbility(ability);
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Fear
        this.addAbility(FearAbility.getInstance());
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new SourcePermanentPowerCount()), new SacrificeSourceCost());
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);

        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Wither
        this.addAbility(WitherAbility.getInstance());
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

        this.color.setBlack(true);
        this.color.setWhite(true);

        // Choose any number of target creatures. Each of those creatures gains persist until end of turn.
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(new PersistAbility(), Duration.EndOfTurn, rule));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, Integer.MAX_VALUE));
       
    }
View Full Code Here

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

        // {2}: Target white creature gains persist until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(new PersistAbility(), Duration.EndOfTurn), new ManaCostsImpl("{2}"));
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
       
    }
View Full Code Here

        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetCardInGraveyard());
        this.addAbility(ability);
       
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

        // Thunderblust has trample as long as it has a -1/-1 counter on it.
        Effect effect = new ConditionalContinousEffect(new GainAbilitySourceEffect(TrampleAbility.getInstance()), new SourceHasCounterCondition(CounterType.M1M1), rule);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
       
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}"));
        ability.addTarget(new TargetPermanent(filter));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
        // Persist
        this.addAbility(new PersistAbility());
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.PersistAbility

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.