congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CanBlockAsThoughtItHadShadowEffect
Code IndexAdd Tabnine to your IDE (free)

How to use
CanBlockAsThoughtItHadShadowEffect
in
mage.abilities.effects.common

Best Java code snippets using mage.abilities.effects.common.CanBlockAsThoughtItHadShadowEffect (Showing top 4 results out of 315)

origin: magefree/mage

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

public HeartwoodDryad(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
  this.subtype.add(SubType.DRYAD);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  // Heartwood Dryad can block creatures with shadow as though Heartwood Dryad had shadow.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CanBlockAsThoughtItHadShadowEffect(Duration.WhileOnBattlefield)));
}
origin: magefree/mage

public WallOfDiffusion(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{R}");
  this.subtype.add(SubType.WALL);
  this.power = new MageInt(0);
  this.toughness = new MageInt(5);
  // Defender
  this.addAbility(DefenderAbility.getInstance());
  // Wall of Diffusion can block creatures with shadow as though Wall of Diffusion had shadow.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CanBlockAsThoughtItHadShadowEffect(Duration.WhileOnBattlefield)));
}
origin: magefree/mage

public AetherflameWall(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
  
  this.subtype.add(SubType.WALL);
  this.power = new MageInt(0);
  this.toughness = new MageInt(4);
  // Defender
  this.addAbility(DefenderAbility.getInstance());
  // Aetherflame Wall can block creatures with shadow as though they didn’t have shadow.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CanBlockAsThoughtItHadShadowEffect(Duration.WhileOnBattlefield)));
  // {R}: Aetherflame Wall gets +1/+0 until end of turn.
  this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
}
mage.abilities.effects.commonCanBlockAsThoughtItHadShadowEffect

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ImageIO (javax.imageio)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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