Examples of MustBeBlockedByAtLeastOneTargetEffect


Examples of mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect

        // Target creature must be blocked this turn if able.
        // Draw a card.
        this.getSpellAbility().addEffect(
                new GainAbilityTargetEffect(
                new SimpleStaticAbility(Zone.BATTLEFIELD, new MustBeBlockedByAtLeastOneTargetEffect()),
                Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect

        this.color.setGreen(true);

        // Target creature gets +7/+7 and gains trample until end of turn. It must be blocked this turn if able.
        this.getSpellAbility().addEffect(new BoostTargetEffect(7,7, Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new MustBeBlockedByAtLeastOneTargetEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect

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

        // Constellation - Whenever Goldenhide Ox or another enchantment enters the battlefield under your control, target creature must be blocked this turn if able.
        Ability ability = new ConstellationAbility(new MustBeBlockedByAtLeastOneTargetEffect(Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect

        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(1);

        // {3}{G}: Target creature must be blocked this turn if able.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MustBeBlockedByAtLeastOneTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{3}{G}"));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect

        this.color.setBlack(true);

        // Target creature gains deathtouch until end of turn and must be blocked this turn if able.       
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new MustBeBlockedByAtLeastOneTargetEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());

        // Flashback {G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{G}"), TimingRule.SORCERY));
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.