Some fixes to "Remove license headers" (#4998).

This commit is contained in:
LevelX2 2018-06-03 10:18:30 +02:00
parent c4212a0d9e
commit b17858d910
24 changed files with 219 additions and 272 deletions

2
.gitignore vendored
View file

@ -94,6 +94,8 @@ Mage.Verify/AllSets.json
releases
Utils/author.txt
Utils/*_tracker.txt
Utils/*implemented.txt
.DS_Store
.metadata
.project

View file

@ -1,5 +1,3 @@
/*
package mage.cards.a;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.c;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.c;
import java.util.UUID;
@ -52,6 +50,7 @@ public final class CryptGhast extends CardImpl {
class CryptGhastTriggeredAbility extends TriggeredManaAbility {
private static final FilterControlledLandPermanent filter = new FilterControlledLandPermanent("Swamp");
static {
filter.add(new SubtypePredicate(SubType.SWAMP));
}

View file

@ -1,5 +1,3 @@
/*
package mage.cards.d;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.e;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.f;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.f;
import java.util.UUID;
@ -10,8 +8,8 @@ import mage.abilities.keyword.BattalionAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.target.common.TargetCreaturePermanent;
/**
@ -25,7 +23,6 @@ public final class FirefistStriker extends CardImpl {
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(2);
this.toughness = new MageInt(1);

View file

@ -1,5 +1,3 @@
/*
package mage.cards.f;
import java.util.UUID;
@ -14,8 +12,8 @@ import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.target.common.TargetAnyTarget;
@ -31,7 +29,6 @@ public final class FoundryChampion extends CardImpl {
this.subtype.add(SubType.ELEMENTAL);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(4);
this.toughness = new MageInt(4);
@ -56,4 +53,3 @@ public final class FoundryChampion extends CardImpl {
return new FoundryChampion(this);
}
}

View file

@ -1,5 +1,3 @@
/*
package mage.cards.g;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.h;
import java.util.UUID;
@ -14,8 +12,8 @@ import mage.abilities.keyword.HasteAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledCreaturePermanent;
@ -33,7 +31,6 @@ public final class HellraiserGoblin extends CardImpl {
this.subtype.add(SubType.GOBLIN);
this.subtype.add(SubType.BERSERKER);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
@ -68,7 +65,6 @@ class AttacksIfAbleAllEffect extends RequirementEffect {
this.filter = filter;
}
public AttacksIfAbleAllEffect(final AttacksIfAbleAllEffect effect) {
super(effect);
this.filter = effect.filter;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.h;
import java.util.UUID;
@ -27,7 +25,6 @@ public final class HighPriestOfPenance extends CardImpl {
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.CLERIC);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
@ -47,7 +44,6 @@ public final class HighPriestOfPenance extends CardImpl {
class HighPriestOfPenanceTriggeredAbility extends TriggeredAbilityImpl {
public HighPriestOfPenanceTriggeredAbility() {
super(Zone.BATTLEFIELD, new DestroyTargetEffect(), true);
this.addTarget(new TargetNonlandPermanent());

View file

@ -1,5 +1,3 @@
/*
package mage.cards.l;
import java.util.UUID;
@ -15,8 +13,8 @@ import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.game.Game;
import mage.game.permanent.Permanent;
@ -33,7 +31,6 @@ public final class LegionLoyalist extends CardImpl {
this.subtype.add(SubType.GOBLIN);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
@ -97,4 +94,3 @@ class CantBeBlockedByTokenEffect extends RestrictionEffect {
return new CantBeBlockedByTokenEffect(this);
}
}

View file

@ -1,5 +1,3 @@
/*
package mage.cards.l;
import java.util.UUID;
@ -26,7 +24,6 @@ public final class LeylinePhantom extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}");
this.subtype.add(SubType.ILLUSION);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
@ -44,7 +41,6 @@ public final class LeylinePhantom extends CardImpl {
}
}
class LeylinePhantomTriggeredAbility extends TriggeredAbilityImpl {
public LeylinePhantomTriggeredAbility() {

View file

@ -1,5 +1,3 @@
/*
package mage.cards.l;
import java.util.UUID;
@ -14,8 +12,8 @@ import mage.cards.CardSetInfo;
import mage.cards.Cards;
import mage.cards.CardsImpl;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Outcome;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.filter.common.FilterCreatureCard;
import mage.game.Game;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.o;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.p;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.s;
import java.util.UUID;
@ -11,8 +9,8 @@ import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.game.permanent.token.SoldierTokenWithHaste;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.t;
import java.util.UUID;
@ -13,8 +11,8 @@ import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
/**
@ -29,7 +27,6 @@ public final class TruefirePaladin extends CardImpl {
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.KNIGHT);
this.power = new MageInt(2);
this.toughness = new MageInt(2);

View file

@ -1,5 +1,3 @@
/*
package mage.cards.u;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.u;
import java.util.UUID;

View file

@ -1,5 +1,3 @@
/*
package mage.cards.v;
import java.util.UUID;
@ -15,9 +13,9 @@ import mage.abilities.keyword.LifelinkAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.Outcome;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.game.Game;
import mage.game.events.GameEvent;
@ -26,15 +24,16 @@ import mage.players.Player;
import mage.target.common.TargetCreaturePermanent;
/**
* Gatecrash FAQ (01.2013)
* Multiple instances of lifelink are redundant. Giving the same creature lifelink
* more than once won't cause you to gain additional life.
* Gatecrash FAQ (01.2013) Multiple instances of lifelink are redundant. Giving
* the same creature lifelink more than once won't cause you to gain additional
* life.
*
* Each time the second ability resolves, a delayed triggered ability is created.
* Whenever you gain life that turn, each of those abilities will trigger. For
* example, if you activate the second ability twice (and let those abilities resolve)
* and then you gain 2 life, each opponent will lose a total of 4 life. Each instance
* will cause two abilities to trigger, each causing that player to lose 2 life.
* Each time the second ability resolves, a delayed triggered ability is
* created. Whenever you gain life that turn, each of those abilities will
* trigger. For example, if you activate the second ability twice (and let those
* abilities resolve) and then you gain 2 life, each opponent will lose a total
* of 4 life. Each instance will cause two abilities to trigger, each causing
* that player to lose 2 life.
*
* @author LevelX2
*/
@ -46,7 +45,6 @@ public final class VizkopaGuildmage extends CardImpl {
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.WIZARD);
this.power = new MageInt(2);
this.toughness = new MageInt(2);

View file

@ -1,5 +1,3 @@
/*
package org.mage.test.cards.abilities.enters;
import mage.constants.PhaseStep;
@ -17,8 +15,7 @@ public class ValakutTheMoltenPinnacleTest extends CardTestPlayerBase {
* Valakut, the Molten Pinnacle Land Valakut, the Molten Pinnacle enters the
* battlefield tapped. Whenever a Mountain enters the battlefield under your
* control, if you control at least five other Mountains, you may have
* Valakut, the Molten Pinnacle deal 3 damage to any target.
* {T}: Add {R}.
* Valakut, the Molten Pinnacle deal 3 damage to any target. {T}: Add {R}.
*/
@Test
public void onlyFourMountainsNoDamage() {

View file

@ -1,19 +1,20 @@
/*
package mage.abilities.costs;
import mage.abilities.Ability;
import mage.game.Game;
/**
* Interface for abilities that adjust source and only source costs.
* For the cases when some permanent adjusts costs of other spells use {@link mage.abilities.effects.CostModificationEffect}.
* Interface for abilities that adjust source and only source costs. For the
* cases when some permanent adjusts costs of other spells use
* {@link mage.abilities.effects.CostModificationEffect}.
*
* Example of such source costs adjusting: {@link mage.abilities.keyword.AffinityForArtifactsAbility}
* Example of such source costs adjusting:
* {@link mage.abilities.keyword.AffinityForArtifactsAbility}
*
* @author nantuko
*/
@FunctionalInterface
public interface AdjustingSourceCosts {
void adjustCosts(Ability ability, Game game);
}