Examples of CreateDelayedTriggeredAbilityEffect


Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

  public UnearthAbility(ManaCosts costs) {
    super(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToBattlefieldEffect(), costs);
    this.timing = TimingRule.SORCERY;
    this.addEffect(new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.WhileOnBattlefield));
    this.addEffect(new CreateDelayedTriggeredAbilityEffect(new UnearthDelayedTriggeredAbility()));
    this.addEffect(new UnearthLeavesBattlefieldEffect());
  }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

  }

  class ProteanHydraAbility extends TriggeredAbilityImpl<ProteanHydraAbility> {

    public ProteanHydraAbility() {
      super(Zone.BATTLEFIELD, new CreateDelayedTriggeredAbilityEffect(new ProteanHydraDelayedTriggeredAbility()), false);
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

    public UnearthAbility(ManaCosts costs) {
        super(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToBattlefieldEffect(), costs);
        this.timing = TimingRule.SORCERY;
        this.addEffect(new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.Custom));
        this.addEffect(new CreateDelayedTriggeredAbilityEffect(new UnearthDelayedTriggeredAbility()));
        this.addEffect(new UnearthLeavesBattlefieldEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

        this.addEffect(new FlashbackEffect());
        this.addCost(cost);
        this.timing = timingRule;
        this.usesStack = false;
        this.spellAbilityType = SpellAbilityType.BASE_ALTERNATE;
        this.addEffect(new CreateDelayedTriggeredAbilityEffect(new FlashbackTriggeredAbility()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(LifelinkAbility.getInstance(), Duration.EndOfTurn),new ManaCostsImpl("{1}{W}{B}"));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);

        // 1{W}{B}: Whenever you gain life this turn, each opponent loses that much life.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateDelayedTriggeredAbilityEffect(new VizkopaGuildmageDelayedTriggeredAbility()), new ManaCostsImpl("{1}{W}{B}")));

    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

        super(ownerId, 210, "Glimpse of Nature", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{G}");
        this.expansionSetCode = "CHK";
        this.color.setGreen(true);

        // Whenever you cast a creature spell this turn, draw a card.
        this.getSpellAbility().addEffect(new CreateDelayedTriggeredAbilityEffect(new GlimpseOfNatureTriggeredAbility()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

        this.color.setRed(true);

        // Burn Away deals 6 damage to target creature. When that creature dies this turn, exile all cards from its controller's graveyard.
        this.getSpellAbility().addEffect(new DamageTargetEffect(6));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CreateDelayedTriggeredAbilityEffect(new BurnAwayDelayedTriggeredAbility(), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

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

        // When Mardu Blazebringer attacks or blocks, sacrifice it at end of combat.
        this.addAbility(new AttacksOrBlocksTriggeredAbility(new CreateDelayedTriggeredAbilityEffect(
                new AtTheEndOfCombatDelayedTriggeredAbility(new SacrificeSourceEffect())), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

        this.toughness = new MageInt(4);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Fog Elemental attacks or blocks, sacrifice it at end of combat.
        this.addAbility(new AttacksOrBlocksTriggeredAbility(new CreateDelayedTriggeredAbilityEffect(new AtTheEndOfCombatDelayedTriggeredAbility(new SacrificeSourceEffect())), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect

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

        // All creatures get -2/-2 until end of turn. Whenever a creature dies this turn, you gain 1 life.
        this.getSpellAbility().addEffect(new BoostAllEffect(-2, -2, Duration.EndOfTurn, new FilterCreaturePermanent("All creatures"), false));
        this.getSpellAbility().addEffect(new CreateDelayedTriggeredAbilityEffect(new DeathFrenzyDelayedTriggeredAbility()));
    }
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.