Tabnine Logo
CanBlockAsThoughtItHadShadowEffect.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using mage.abilities.effects.common.CanBlockAsThoughtItHadShadowEffect.<init> (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<init>

Popular methods of CanBlockAsThoughtItHadShadowEffect

    Popular in Java

    • Making http post requests using okhttp
    • getSystemService (Context)
    • getContentResolver (Context)
    • putExtra (Intent)
    • Enumeration (java.util)
      A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
    • Stack (java.util)
      Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
    • ReentrantLock (java.util.concurrent.locks)
      A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
    • JList (javax.swing)
    • Join (org.hibernate.mapping)
    • Option (scala)
    • 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