Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.AttachEffect


* @author BetaSteward_at_googlemail.com
*/
public class EquipAbility extends ActivatedAbilityImpl<EquipAbility> {

  public EquipAbility(Outcome outcome, Cost cost) {
    super(Zone.BATTLEFIELD, new AttachEffect(outcome), cost);
    this.addTarget(new TargetControlledCreaturePermanent());
    this.timing = TimingRule.SORCERY;
  }
View Full Code Here


    this.color.setWhite(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ArmoredAscensionEffect()));

  }
View Full Code Here

    this.color.setBlue(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new IceCageEffect()));
    this.addAbility(new IceCageAbility());
  }
View Full Code Here

        this.expansionSetCode = "M10";
        this.color.setBlack(true);
        this.subtype.add("Aura");
        TargetPermanent auraTarget = new TargetCreaturePermanent();
  this.getSpellAbility().addTarget(auraTarget);
  this.getSpellAbility().addEffect(new AttachEffect(Outcome.UnboostCreature));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
  this.addAbility(ability);
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new WeaknessEffect()));
    }
View Full Code Here

        this.color.setGreen(true);
        this.subtype.add("Aura");

        TargetPermanent auraTarget = new TargetCreaturePermanent();
  this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
  Ability ability = new EnchantAbility(auraTarget.getTargetName());
  this.addAbility(ability);
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new OakenformEffect()));
    }
View Full Code Here

    this.color.setBlack(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new QuagSicknessEffect()));

  }
View Full Code Here

    this.color.setBlue(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetLandPermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardControllerEffect(1), false));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SpreadingSeasEffect()));
View Full Code Here

    this.color.setWhite(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PacifismEffect()));

  }
View Full Code Here

    this.color.setBlack(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new UnholyStrengthEffect()));

  }
View Full Code Here

    this.color.setWhite(true);
    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new HolyStrengthEffect()));

  }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.AttachEffect

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.