Fixed syntax errors of Cursed Monstrosity and Dirty Wereat.

This commit is contained in:
LevelX2 2013-09-30 18:15:06 +02:00
parent c130153c6f
commit eb85c1e90d
2 changed files with 4 additions and 4 deletions

View file

@ -59,8 +59,8 @@ public class CursedMonstrosity extends CardImpl<CursedMonstrosity> {
// Whenever Cursed Monstrosity becomes the target of a spell or ability, sacrifice it unless you discard a land card. // Whenever Cursed Monstrosity becomes the target of a spell or ability, sacrifice it unless you discard a land card.
this.addAbility(new BecomesTargetTriggeredAbility( this.addAbility(new BecomesTargetTriggeredAbility(
new SacrificeSourceUnlessPaysEffect( new SacrificeSourceUnlessPaysEffect(
new DiscardTargetCost( new DiscardTargetCost(new TargetCardInHand(new FilterLandCard()))
new TargetCardInHand(new FilterLandCard())))); )));
} }
public CursedMonstrosity(final CursedMonstrosity card) { public CursedMonstrosity(final CursedMonstrosity card) {

View file

@ -38,8 +38,8 @@ import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.decorator.ConditionalContinousEffect; import mage.abilities.decorator.ConditionalContinousEffect;
import mage.abilities.decorator.ConditionalRestrictionEffect; import mage.abilities.decorator.ConditionalRestrictionEffect;
import mage.abilities.effects.Effect; import mage.abilities.effects.Effect;
import mage.abilities.effects.common.CantBlockSourceEffect;
import mage.abilities.effects.common.RegenerateSourceEffect; import mage.abilities.effects.common.RegenerateSourceEffect;
import mage.abilities.effects.common.combat.CantBlockSourceEffect;
import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.abilities.effects.common.continious.BoostSourceEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.constants.CardType; import mage.constants.CardType;
@ -72,7 +72,7 @@ public class DirtyWererat extends CardImpl<DirtyWererat> {
new ConditionalContinousEffect( new ConditionalContinousEffect(
new BoostSourceEffect(2, 2, Duration.WhileOnBattlefield), new BoostSourceEffect(2, 2, Duration.WhileOnBattlefield),
new CardsInControllerGraveCondition(7), new CardsInControllerGraveCondition(7),
"<br/><br/><i>Threshold</i> - If seven or more cards are in your graveyard, Dirty Wererat gets +2/+2 and can't block" "<i>Threshold</i> - If seven or more cards are in your graveyard, Dirty Wererat gets +2/+2 and can't block"
)); ));
Effect effect = new ConditionalRestrictionEffect( Effect effect = new ConditionalRestrictionEffect(
new CantBlockSourceEffect(Duration.WhileOnBattlefield), new CantBlockSourceEffect(Duration.WhileOnBattlefield),