Tabnine Logo
UnleashAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
UnleashAbility
in
mage.abilities.keyword

Best Java code snippets using mage.abilities.keyword.UnleashAbility (Showing top 15 results out of 315)

origin: magefree/mage

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

public UnleashAbility() {
  super(Zone.ALL, new UnleashReplacementEffect());
  this.addEffect(new UnleashRestrictionEffect());
}
origin: magefree/mage

public SpawnOfRixMaadi(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{R}");
  this.subtype.add(SubType.HORROR);
  this.power = new MageInt(5);
  this.toughness = new MageInt(3);
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
}
origin: magefree/mage

public DeadReveler(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.ZOMBIE);
  this.power = new MageInt(2);
  this.toughness = new MageInt(3);
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
}
origin: magefree/mage

public RakdosCackler(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{B/R}");
  this.subtype.add(SubType.DEVIL);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
}
origin: magefree/mage

public GoreHouseChainwalker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
}
origin: magefree/mage

public RakdosDrake (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.DRAKE);
  this.power = new MageInt(1);
  this.toughness = new MageInt(2);
  // Flying
  this.addAbility(FlyingAbility.getInstance());
  // Unleash
  this.addAbility(new UnleashAbility());
}
origin: magefree/mage

public BloodfrayGiant(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}{R}");
  this.subtype.add(SubType.GIANT);
  this.power = new MageInt(4);
  this.toughness = new MageInt(3);
  // Deathtouch
  this.addAbility(TrampleAbility.getInstance());
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
}
origin: magefree/mage

public SplatterThug(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // First strike
  this.addAbility(FirstStrikeAbility.getInstance());
  
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
}
origin: magefree/mage

public ThrillKillAssassin(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.ASSASSIN);
  this.power = new MageInt(1);
  this.toughness = new MageInt(2);
  // Deathtouch
  this.addAbility(DeathtouchAbility.getInstance());
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
}
origin: magefree/mage

public CarnivalHellsteed(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{B}{R}");
  this.subtype.add(SubType.NIGHTMARE);
  this.subtype.add(SubType.HORSE);
  this.power = new MageInt(5);
  this.toughness = new MageInt(4);
  // First strike
  this.addAbility(FirstStrikeAbility.getInstance());
  // Haste
  this.addAbility(HasteAbility.getInstance());
  
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
}
origin: magefree/mage

public GrimRoustabout(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}");
  this.subtype.add(SubType.SKELETON);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
  // {1}{B}: Regenerate Grim Roustabout.
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{1}{B}")));
}
origin: magefree/mage

public ExavaRakdosBloodWitch(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}{R}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.CLERIC);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // First strike
  this.addAbility(FirstStrikeAbility.getInstance());
  // Haste
  this.addAbility(HasteAbility.getInstance());
  // Unleash
  this.addAbility(new UnleashAbility());
  // Each other creature you control with a +1/+1 counter on it has haste.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(HasteAbility.getInstance(), Duration.WhileOnBattlefield, filter, rule)));
}
origin: magefree/mage

public ChaosImps(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{R}{R}");
  this.subtype.add(SubType.IMP);
  this.power = new MageInt(6);
  this.toughness = new MageInt(5);
  // Flying
  this.addAbility(FlyingAbility.getInstance());
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  
  // Chaos Imps has trample as long as it has a +1/+1 counter on it.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, 
      new ConditionalContinuousEffect(new GainAbilitySourceEffect(TrampleAbility.getInstance()), 
      new SourceHasCounterCondition(CounterType.P1P1),"{this} has trample as long as it has a +1/+1 counter on it")));
  
}
origin: magefree/mage

public HellholeFlailer(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}{R}");
  this.subtype.add(SubType.OGRE);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  // Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)
  this.addAbility(new UnleashAbility());
  // {2}{B}{R}, Sacrifice Hellhole Flailer: Hellhole Flailer deals damage equal to its power to target player.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new SourcePermanentPowerCount()), new ManaCostsImpl("{2}{B}{R}"));
  ability.addTarget(new TargetPlayerOrPlaneswalker());
  ability.addCost(new SacrificeSourceCost());
  this.addAbility(ability);
}
mage.abilities.keywordUnleashAbility

Most used methods

  • <init>
  • addEffect

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Path (java.nio.file)
  • JTable (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for Android Studio
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