Package mage.abilities.common

Examples of mage.abilities.common.SimpleStaticAbility


    this.subtype.add("Soldier");
    this.color.setWhite(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(4);

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


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

    this.addAbility(new SimpleStaticAbility(Zone.STACK, new CantCounterSourceEffect()));
    this.addAbility(HasteAbility.getInstance());
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantTargetSourceEffect(filter, Duration.WhileOnBattlefield)));

  }
View Full Code Here

    super(ownerId, 130, "Combust", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}");
    this.expansionSetCode = "M11";
    this.color.setRed(true);
    this.getSpellAbility().addEffect(new DamageTargetEffect(5, false));
    this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(new SimpleStaticAbility(Zone.STACK, new CantCounterSourceEffect()));
  }
View Full Code Here

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

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
    this.addAbility(new ElvishArchdruidAbility());
  }
View Full Code Here

  public HonorOfThePure(UUID ownerId) {
    super(ownerId, 16, "Honor of the Pure", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}");
    this.expansionSetCode = "M10";
    this.color.setWhite(true);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, false)));
  }
View Full Code Here

    this.subtype.add("Merfolk");
    this.color.setBlue(true);
    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 GainAbilityTargetEffect(UnblockableAbility.getInstance(), Duration.EndOfTurn), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter2));
    this.addAbility(ability);
  }
View Full Code Here

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

    this.watchers.add(new BloodcrazedGoblinWatcher(ownerId));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BloodcrazedGoblinEffect()));
  }
View Full Code Here

    this.subtype.add("Wolf");
    this.color.setGreen(true);
    this.power = new MageInt(3);
    this.toughness = new MageInt(1);

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

  public LeylineOfTheVoid(UUID ownerId) {
    super(ownerId, 101, "Leyline of the Void", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{B}{B}");
    this.expansionSetCode = "M11";
    this.color.setBlack(true);
    this.addAbility(LeylineAbility.getInstance());
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new LeylineOfTheVoidEffect()));
  }
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.