Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"

This commit is contained in:
LevelX2 2016-09-16 23:55:54 +02:00 committed by GitHub
parent 18e771ccd5
commit d7dd635bca
51 changed files with 96 additions and 294 deletions

View file

@ -1,33 +0,0 @@
package mage.sets.kaladesh;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
import mage.abilities.effects.keyword.ScryEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
import java.util.UUID;
/**
* Created by IGOUDT on 16-9-2016.
*/
public class GlimmerOfGenius extends CardImpl {
public GlimmerOfGenius(final UUID ownerId){
super(ownerId,49,"Glimmer of Genius", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT},"{3U}");
this.expansionSetCode = "KLD";
this.getSpellAbility().addEffect(new ScryEffect(2));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2));
this.getSpellAbility().addEffect(new GetEnergyCountersControllerEffect(2));
}
public GlimmerOfGenius(final GlimmerOfGenius glimmerOfGenius){
super(glimmerOfGenius);
}
public GlimmerOfGenius copy(){
return new GlimmerOfGenius(this);
}
}

View file

@ -1,46 +0,0 @@
package mage.sets.kaladesh;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.CounterUnlessPaysEffect;
import mage.cards.Card;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.filter.Filter;
import mage.filter.FilterSpell;
import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.target.TargetSpell;
import mage.target.common.TargetNonBasicLandPermanent;
import java.util.UUID;
/**
* Created by IGOUDT on 16-9-2016.
*/
public class RevolutionaryRebuff extends CardImpl {
public RevolutionaryRebuff(final UUID ownerId){
super(ownerId, 61, "Revolutionary Rebuff", Rarity.COMMON, new CardType[]{CardType.INSTANT},"{1U}");
this.expansionSetCode = "KLD";
FilterSpell filter = new FilterSpell();
filter.add(Predicates.not(new SubtypePredicate("Artifact")));
this.getSpellAbility().addTarget(new TargetSpell(filter) );
this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(2)));
}
public RevolutionaryRebuff(final RevolutionaryRebuff revolutionaryRebuff){
super(revolutionaryRebuff);
}
@Override
public RevolutionaryRebuff copy() {
return new RevolutionaryRebuff(this);
}
}

View file

@ -1,42 +0,0 @@
package mage.sets.kaladesh;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.DeathtouchAbility;
import mage.abilities.keyword.IndestructibleAbility;
import mage.abilities.keyword.LifelinkAbility;
import mage.cards.Card;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Rarity;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* Created by IGOUDT on 16-9-2016.
*/
public class RushOfVitality extends CardImpl {
public RushOfVitality(final UUID ownerId){
super(ownerId,99,"Rush of Vitality", Rarity.COMMON, new CardType[]{CardType.INSTANT},"{1B}");
this.expansionSetCode = "KLD";
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(LifelinkAbility.getInstance(), Duration.EndOfTurn));
}
public RushOfVitality(final RushOfVitality rushOfVitality){
super(rushOfVitality);
}
@Override
public RushOfVitality copy() {
return new RushOfVitality(this);
}
}

View file

@ -1,41 +0,0 @@
package mage.sets.kaladesh;
import mage.MageInt;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.ProwessAbility;
import mage.cards.Card;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
import java.util.UUID;
/**
* Created by IGOUDT on 16-9-2016.
*/
public class VedalkenBlademaster extends CardImpl {
public VedalkenBlademaster(final UUID ownerId){
super(ownerId, 68, "Vedalken Blademaster", Rarity.COMMON, new CardType[]{CardType.CREATURE},"{2U}");
this.expansionSetCode = "KLD";
this.subtype.add("Vedalken");
this.subtype.add("Soldier");
this.power = new MageInt(2);
this.toughness = new MageInt(3);
this.addAbility(new ProwessAbility());
}
public VedalkenBlademaster(final VedalkenBlademaster card){
super(card);
}
@Override
public VedalkenBlademaster copy() {
return new VedalkenBlademaster(this);
}
}