congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CantBeBlockedByMoreThanOneSourceEffect.<init>
Code IndexAdd Tabnine to your IDE (free)

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

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

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 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 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 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<init>

Popular methods of CantBeBlockedByMoreThanOneSourceEffect

    Popular in Java

    • Updating database using SQL prepared statement
    • runOnUiThread (Activity)
    • requestLocationUpdates (LocationManager)
    • getSharedPreferences (Context)
    • Selector (java.nio.channels)
      A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
    • DateFormat (java.text)
      Formats or parses dates and times.This class provides factories for obtaining instances configured f
    • Iterator (java.util)
      An iterator over a sequence of objects, such as a collection.If a collection has been changed since
    • TreeSet (java.util)
      TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
    • Cipher (javax.crypto)
      This class provides access to implementations of cryptographic ciphers for encryption and decryption
    • JFileChooser (javax.swing)
    • Github Copilot alternatives
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now