1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-13 01:01:11 -09:00

Rule text changes - Oracle updates 11.01.2018 (closes )

This commit is contained in:
LevelX2 2018-01-14 10:46:42 +01:00
parent 0f13ac8b99
commit 07ab5cb731
3 changed files with 18 additions and 18 deletions

View file

@ -53,7 +53,7 @@ import mage.players.Player;
public class CalmingVerse extends CardImpl { public class CalmingVerse extends CardImpl {
public CalmingVerse(UUID ownerId, CardSetInfo setInfo) { public CalmingVerse(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{G}"); super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}");
// Destroy all enchantments you don't control. Then, if you control an untapped land, destroy all enchantments you control. // Destroy all enchantments you don't control. Then, if you control an untapped land, destroy all enchantments you control.
this.getSpellAbility().addEffect(new CalmingVerseEffect()); this.getSpellAbility().addEffect(new CalmingVerseEffect());
@ -73,22 +73,23 @@ public class CalmingVerse extends CardImpl {
class CalmingVerseEffect extends OneShotEffect { class CalmingVerseEffect extends OneShotEffect {
private static final FilterPermanent untappedLandFilter = new FilterPermanent("If you control an untapped land"); private static final FilterPermanent untappedLandFilter = new FilterPermanent("If you control an untapped land");
static { static {
untappedLandFilter.add(new CardTypePredicate(CardType.LAND)); untappedLandFilter.add(new CardTypePredicate(CardType.LAND));
untappedLandFilter.add(Predicates.not(new TappedPredicate())); untappedLandFilter.add(Predicates.not(new TappedPredicate()));
} }
private static final FilterEnchantmentPermanent opponentEnchantmentsFilter = new FilterEnchantmentPermanent("enchantments you don't control"); private static final FilterEnchantmentPermanent opponentEnchantmentsFilter = new FilterEnchantmentPermanent("enchantments you don't control");
static { static {
opponentEnchantmentsFilter.add(new ControllerPredicate(TargetController.OPPONENT)); opponentEnchantmentsFilter.add(new ControllerPredicate(TargetController.OPPONENT));
} }
private static final FilterControlledEnchantmentPermanent controlledEnchantmentsFilter = new FilterControlledEnchantmentPermanent("enchantments you control"); private static final FilterControlledEnchantmentPermanent controlledEnchantmentsFilter = new FilterControlledEnchantmentPermanent("enchantments you control");
public CalmingVerseEffect() { public CalmingVerseEffect() {
super(Outcome.Detriment); super(Outcome.Detriment);
this.staticText = "Destroy all enchantments you don't control. Then, if you control an untapped land, destroy all enchantments you control"; this.staticText = "Destroy all enchantments you don't control. Then if you control an untapped land, destroy all enchantments you control";
} }
public CalmingVerseEffect(final CalmingVerseEffect effect) { public CalmingVerseEffect(final CalmingVerseEffect effect) {

View file

@ -50,7 +50,7 @@ import mage.game.events.ZoneChangeEvent;
public class GrafdiggersCage extends CardImpl { public class GrafdiggersCage extends CardImpl {
public GrafdiggersCage(UUID ownerId, CardSetInfo setInfo) { public GrafdiggersCage(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{1}"); super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
// Creature cards can't enter the battlefield from graveyards or libraries. // Creature cards can't enter the battlefield from graveyards or libraries.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GrafdiggersCageEffect())); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GrafdiggersCageEffect()));
@ -73,7 +73,7 @@ class GrafdiggersCageEffect extends ContinuousRuleModifyingEffectImpl {
public GrafdiggersCageEffect() { public GrafdiggersCageEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit); super(Duration.WhileOnBattlefield, Outcome.Benefit);
staticText = "Creature cards can't enter the battlefield from graveyards or libraries"; staticText = "Creature cards in graveyards and libraries can't enter the battlefield";
} }
public GrafdiggersCageEffect(final GrafdiggersCageEffect effect) { public GrafdiggersCageEffect(final GrafdiggersCageEffect effect) {
@ -120,7 +120,6 @@ class GrafdiggersCageEffect2 extends ContinuousRuleModifyingEffectImpl {
return new GrafdiggersCageEffect2(this); return new GrafdiggersCageEffect2(this);
} }
@Override @Override
public boolean checksEventType(GameEvent event, Game game) { public boolean checksEventType(GameEvent event, Game game) {
return event.getType() == GameEvent.EventType.CAST_SPELL; return event.getType() == GameEvent.EventType.CAST_SPELL;

View file

@ -48,7 +48,7 @@ import mage.players.Player;
public class RhysticScrying extends CardImpl { public class RhysticScrying extends CardImpl {
public RhysticScrying(UUID ownerId, CardSetInfo setInfo) { public RhysticScrying(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{U}{U}"); super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}{U}");
// Draw three cards. Then, if any player pays {2}, discard three cards. // Draw three cards. Then, if any player pays {2}, discard three cards.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3)); this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
@ -69,7 +69,7 @@ class RhysticScryingEffect extends OneShotEffect {
public RhysticScryingEffect() { public RhysticScryingEffect() {
super(Outcome.Benefit); super(Outcome.Benefit);
this.staticText = "Then, if any player pays {2}, discard three cards"; this.staticText = "Then if any player pays {2}, discard three cards";
} }
public RhysticScryingEffect(final RhysticScryingEffect effect) { public RhysticScryingEffect(final RhysticScryingEffect effect) {