mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
removed commented code from cards
This commit is contained in:
parent
709d3cc4b1
commit
0349b31fdf
10 changed files with 6 additions and 42 deletions
|
@ -205,7 +205,6 @@ class CavernOfSoulsCantCounterEffect extends ReplacementEffectImpl<CavernOfSouls
|
|||
|
||||
public CavernOfSoulsCantCounterEffect() {
|
||||
super(Constants.Duration.WhileOnBattlefield, Constants.Outcome.Benefit);
|
||||
//staticText = "that spell can't be countered";
|
||||
staticText = null;
|
||||
}
|
||||
|
||||
|
@ -240,4 +239,4 @@ class CavernOfSoulsCantCounterEffect extends ReplacementEffectImpl<CavernOfSouls
|
|||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,6 @@ import mage.abilities.common.CantBlockAbility;
|
|||
import mage.abilities.costs.mana.ColoredManaCost;
|
||||
import mage.abilities.decorator.ConditionalActivatedAbility;
|
||||
import mage.abilities.effects.common.RegenerateSourceEffect;
|
||||
//import mage.abilities.effects.common.continious.GainAbilitySourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
|
|
|
@ -183,7 +183,6 @@ class RavagerOfTheFellsEffect extends OneShotEffect<RavagerOfTheFellsEffect> {
|
|||
|
||||
public RavagerOfTheFellsEffect() {
|
||||
super(Constants.Outcome.Damage);
|
||||
//staticText = "{this} deals 2 damage to target opponent and 2 damage to up to one target creature that player controls";
|
||||
}
|
||||
|
||||
public RavagerOfTheFellsEffect(final RavagerOfTheFellsEffect effect) {
|
||||
|
|
|
@ -122,7 +122,6 @@ class SkaabRuinatorAbility extends ActivatedAbilityImpl<SkaabRuinatorAbility> {
|
|||
class SkaabRuinatorEffect extends OneShotEffect<SkaabRuinatorEffect> {
|
||||
|
||||
public SkaabRuinatorEffect() {
|
||||
// should it be?
|
||||
super(Constants.Outcome.PutCreatureInPlay);
|
||||
staticText = "";
|
||||
}
|
||||
|
@ -142,7 +141,6 @@ class SkaabRuinatorEffect extends OneShotEffect<SkaabRuinatorEffect> {
|
|||
if (target != null) {
|
||||
Player controller = game.getPlayer(target.getOwnerId());
|
||||
if (controller != null) {
|
||||
//return controller.cast(target.getSpellAbility(), game, true);
|
||||
return target.cast(game, Zone.GRAVEYARD, target.getSpellAbility(), controller.getId());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ public class AntQueen extends CardImpl<AntQueen> {
|
|||
this.expansionSetCode = "M10";
|
||||
this.subtype.add("Insect");
|
||||
this.color.setGreen(true);
|
||||
// this.art = "122179_typ_reg_sty_010.jpg";
|
||||
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
|
|
|
@ -96,16 +96,10 @@ class CryptoplasmTransformEffect extends ContinuousEffectImpl<CryptoplasmTransfo
|
|||
Permanent creature = game.getPermanent(targetPointer.getFirst(game, source));
|
||||
Permanent permanent = game.getPermanent(source.getSourceId());
|
||||
|
||||
if (creature == null || permanent == null)
|
||||
if (creature == null || permanent == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
CardUtil.copyTo(permanent).from(card, game);
|
||||
|
||||
Ability upkeepAbility = new BeginningOfUpkeepTriggeredAbility(new CryptoplasmTransformEffect(), Constants.TargetController.YOU, true);
|
||||
upkeepAbility.addTarget(new TargetCreaturePermanent());
|
||||
permanent.addAbility(upkeepAbility, game);
|
||||
*/
|
||||
game.copyPermanent(creature, permanent, source, new ApplyToPermanent() {
|
||||
@Override
|
||||
public Boolean apply(Game game, Permanent permanent) {
|
||||
|
@ -117,7 +111,6 @@ class CryptoplasmTransformEffect extends ContinuousEffectImpl<CryptoplasmTransfo
|
|||
});
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -126,4 +119,4 @@ class CryptoplasmTransformEffect extends ContinuousEffectImpl<CryptoplasmTransfo
|
|||
return new CryptoplasmTransformEffect(this);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,9 +123,7 @@ class KozilekButcherOfTruthEffect extends OneShotEffect<KozilekButcherOfTruthEff
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
/*Card permanent = (Card)game.getObject(source.getSourceId());*/
|
||||
if (player != null /* && permanent != null */) {
|
||||
/*permanent.moveToZone(Zone.LIBRARY, source.getId(), game, true);*/
|
||||
if (player != null) {
|
||||
player.getLibrary().addAll(player.getGraveyard().getCards(game), game);
|
||||
player.getGraveyard().clear();
|
||||
player.shuffleLibrary(game);
|
||||
|
|
|
@ -129,7 +129,6 @@ class RenegadeDoppelgangerEffect extends ContinuousEffectImpl<RenegadeDoppelgang
|
|||
return false;
|
||||
}
|
||||
|
||||
//CardUtil.copyTo(permanent).from(card, game);
|
||||
game.copyPermanent(creature, permanent, source, new EmptyApplyToPermanent());
|
||||
|
||||
return true;
|
||||
|
|
|
@ -85,12 +85,6 @@ class LiegeOfTheTangleTriggeredAbility extends TriggeredAbilityImpl<LiegeOfTheTa
|
|||
LiegeOfTheTangleTriggeredAbility() {
|
||||
super(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.AWAKENING.createInstance()));
|
||||
this.addEffect(new LiegeOfTheTangleEffect());
|
||||
// Ability ability = new SimpleStaticAbility(Constants.Zone.BATTLEFIELD,
|
||||
// new ConditionalContinousEffect(
|
||||
// new BecomesCreatureSourceEOTEffect(new AwakeningLandToken(), "land"),
|
||||
// new HaveCounter(CounterType.AWAKENING),
|
||||
// "This land is an 8/8 green Elemental creature for as long as it has an awakening counter on it. It's still a land"));
|
||||
// this.addEffect(new GainAbilityTargetEffect(ability, Constants.Duration.EndOfGame));
|
||||
Target target = new TargetLandPermanent(0, Integer.MAX_VALUE, new FilterLandPermanent(), true);
|
||||
this.addTarget(target);
|
||||
}
|
||||
|
|
|
@ -59,21 +59,6 @@ public class StoicRebuttal extends CardImpl<StoicRebuttal> {
|
|||
@Override
|
||||
public void adjustCosts(Ability ability, Game game) {
|
||||
if (MetalcraftCondition.getInstance().apply(game, ability)) {
|
||||
/*ManaCosts<ManaCost> previousCost = ability.getManaCostsToPay();
|
||||
ManaCosts<ManaCost> adjustedCost = new ManaCostsImpl<ManaCost>();
|
||||
boolean reduced = false;
|
||||
for (ManaCost manaCost : previousCost) {
|
||||
Mana mana = manaCost.getOptions().get(0);
|
||||
if (!reduced && mana != null && mana.getColorless() > 0) {
|
||||
mana.setColorless(0);
|
||||
adjustedCost.add(manaCost);
|
||||
reduced = true;
|
||||
} else {
|
||||
adjustedCost.add(manaCost);
|
||||
}
|
||||
}
|
||||
ability.getManaCostsToPay().clear();
|
||||
ability.getManaCostsToPay().addAll(adjustedCost);*/
|
||||
ability.getManaCostsToPay().clear();
|
||||
ability.getManaCostsToPay().load("{U}{U}");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue