Package mage.abilities.common

Examples of mage.abilities.common.SimpleStaticAbility


    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.subtype.add("Unicorn");
    this.color.setGreen(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new MustBlockSourceEffect()));
  }
View Full Code Here

    this.addAbility(new LevelUpAbility(new ManaCostsImpl("{1}{G}")));
    Abilities<Ability> abilities1 = new AbilitiesImpl<Ability>();
    abilities1.add(new JoragaManaAbility());
    this.getLevels().add(new LevelAbility(1, 4, abilities1, 1, 2));
    Abilities<Ability> abilities2 = new AbilitiesImpl<Ability>();
    abilities2.add(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(new JoragaManaAbility(), Duration.WhileOnBattlefield, filter)));
    this.getLevels().add(new LevelAbility(5, -1, abilities2, 1, 4));
  }
View Full Code Here

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

    this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(4), false));
    this.addAbility(new SimpleStaticAbility(Zone.HAND, new ObstinateBalothEffect()));
  }
View Full Code Here

    this.subtype.add("Elemental");
    this.color.setRed(true);
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new EarthServantEffect()));
  }
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Beast");
    this.power = new MageInt(5);
    this.toughness = new MageInt(5);

    this.addAbility(new SimpleStaticAbility(Zone.STACK, new CantCounterSourceEffect()));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantCounterControlledEffect(filter, Duration.WhileOnBattlefield)));
  }
View Full Code Here

    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

  public BehemothSledge(UUID ownerId) {
    super(ownerId, 65, "Behemoth Sledge", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{1}{G}{W}");
    this.expansionSetCode = "ARB";
    this.subtype.add("Equipment");
    this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(3)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(LifelinkAbility.getInstance())));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(TrampleAbility.getInstance())));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(2, 2)));
  }
View Full Code Here

    this.color.setBlack(true);
    this.subtype.add("Vampire");
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter1, true)));
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CaptivatingVampireEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(5, 5, filter2, true)));
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

  public AvatarToken() {
    super("Avatar", "white Avatar creature token with \"This creature's power and toughness are each equal to your life total.\"");
    cardType.add(CardType.CREATURE);
    subtype.add("Avatar");
    color.setWhite(true);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new AvatarTokenEffect()));
  }
View Full Code Here

TOP

Related Classes of mage.abilities.common.SimpleStaticAbility

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.