Codota Logo
CantBeBlockedByMoreThanOneSourceEffect
Code IndexAdd Codota to your IDE (free)

How to use
CantBeBlockedByMoreThanOneSourceEffect
in
mage.abilities.effects.common.combat

Best Java code snippets using mage.abilities.effects.common.combat.CantBeBlockedByMoreThanOneSourceEffect (Showing top 15 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: magefree/mage

@Override
public CantBeBlockedByMoreThanOneSourceEffect copy() {
  return new CantBeBlockedByMoreThanOneSourceEffect(this);
}
origin: magefree/mage

public ChargingRhino(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}");
  this.subtype.add(SubType.RHINO);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Charging Rhino can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public StalkingTiger(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
  this.subtype.add(SubType.CAT);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Stalking Tiger can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public BristlingBoar(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
  this.subtype.add(SubType.BOAR);
  this.power = new MageInt(4);
  this.toughness = new MageInt(3);
  // Bristling Boar can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public NorwoodRiders(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
  this.subtype.add(SubType.ELF);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Norwood Riders can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public IronhoofOx(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}");
  this.subtype.add(SubType.OX);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Ironhoof Ox can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public SinuousPredator(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.WEREWOLF);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // this card is the second face of double-faced card
  this.nightCard = true;
  // Sinuous Predator can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public OutlandColossus(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}");
  this.subtype.add(SubType.GIANT);
  this.power = new MageInt(6);
  this.toughness = new MageInt(6);
  // Renown 6
  this.addAbility(new RenownAbility(6));
  
  // Outland Colossus can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public HuangZhongShuGeneral(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{W}{W}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.SOLDIER);
  this.power = new MageInt(2);
  this.toughness = new MageInt(3);
  // Huang Zhong, Shu General can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public KrosanVorine(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
  this.subtype.add(SubType.CAT);
  this.subtype.add(SubType.BEAST);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  // Provoke
  this.addAbility(new ProvokeAbility());
  // Krosan Vorine can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
}
origin: magefree/mage

public SunderShaman(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}{R}{G}{G}");
  this.subtype.add(SubType.GIANT);
  this.subtype.add(SubType.SHAMAN);
  this.power = new MageInt(5);
  this.toughness = new MageInt(5);
  // Sunder Shaman can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(new CantBeBlockedByMoreThanOneSourceEffect()));
  // Whenever Sunder Shaman deals combat damage to a player, destroy target artifact or enchantment that player controls.
  this.addAbility(new SunderShamanTriggeredAbility());
}
origin: magefree/mage

public BattlefrontKrushok(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{G}");
  this.subtype.add(SubType.BEAST);
  this.power = new MageInt(3);
  this.toughness = new MageInt(4);
  // Battlefront Krushok can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
  // Each creature you control with a +1/+1 counter on it can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneAllEffect(filter)));
}
origin: magefree/mage

public NacatlWarPride(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}{G}{G}");
  this.subtype.add(SubType.CAT);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Nacatl War-Pride must be blocked by exactly one creature if able.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByMoreThanOneSourceEffect()));
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new MustBeBlockedByAtLeastOneSourceEffect(Duration.WhileOnBattlefield)));
  // Whenever Nacatl War-Pride attacks, create X tokens that are copies of Nacatl War-Pride tapped and attacking, where X is the number of creatures defending player controls. Exile the tokens at the beginning of the next end step.
  this.addAbility(new AttacksTriggeredAbility(new NacatlWarPrideEffect(), false));
}
origin: magefree/mage

public HungeringHydra(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{X}{G}");
  this.subtype.add(SubType.HYDRA);
  this.power = new MageInt(0);
  this.toughness = new MageInt(0);
  // Hungering Hydra enters the battlefield with X +1/+1 counters on it.
  this.addAbility(new EntersBattlefieldAbility(
      new EntersBattlefieldWithXCountersEffect(CounterType.P1P1.createInstance())
  ));
  // Hungering Hydra can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(
      Zone.BATTLEFIELD,
      new CantBeBlockedByMoreThanOneSourceEffect()
  ));
  // Whenever damage is dealt to Hungering Hydra, put that many +1/+1 counters on it.
  this.addAbility(new DealtDamageToSourceTriggeredAbility(
      Zone.BATTLEFIELD, new HungeringHydraEffect(),
      false, false, true
  ));
}
origin: magefree/mage

public VigorsporeWurm(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{G}");
  this.subtype.add(SubType.WURM);
  this.power = new MageInt(6);
  this.toughness = new MageInt(4);
  // Undergrowth — When Vigorspore Wurm enters the battlefield, target creature gains vigilance and gets +X/+X until end of turn, where X is the number of creature cards in your graveyard.
  DynamicValue xValue = new CardsInControllerGraveyardCount(
      StaticFilters.FILTER_CARD_CREATURE
  );
  Ability ability = new EntersBattlefieldTriggeredAbility(
      new GainAbilityTargetEffect(
          VigilanceAbility.getInstance(),
          Duration.EndOfTurn
      ).setText("target creature gains vigilance"),
      false, "<i>Undergrowth</i> &mdash; "
  );
  ability.addEffect(new BoostTargetEffect(
      xValue, xValue, Duration.EndOfTurn, true
  ).setText("and gets +X/+X until end of turn, "
      + "where X is the number of creature cards in your graveyard."));
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
  // Vigorspore Wurm can't be blocked by more than one creature.
  this.addAbility(new SimpleStaticAbility(
      Zone.BATTLEFIELD,
      new CantBeBlockedByMoreThanOneSourceEffect()
  ));
}
mage.abilities.effects.common.combatCantBeBlockedByMoreThanOneSourceEffect

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getContentResolver (Context)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • ImageIO (javax.imageio)
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now