mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
nonfunctional rules text update to Alchemist's Refuge and Winding Canyons
(does not fix a reported bug)
This commit is contained in:
parent
954ebd1652
commit
d46f6f4e45
2 changed files with 10 additions and 9 deletions
|
@ -47,23 +47,24 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author noxx
|
* @author noxx
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public class AlchemistsRefuge extends CardImpl {
|
public class AlchemistsRefuge extends CardImpl {
|
||||||
|
|
||||||
private static final FilterCard filter = new FilterCard("nonland cards");
|
private static final FilterCard filter = new FilterCard("spells");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(Predicates.not(new CardTypePredicate(CardType.LAND)));
|
filter.add(Predicates.not(new CardTypePredicate(CardType.LAND)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public AlchemistsRefuge(UUID ownerId, CardSetInfo setInfo) {
|
public AlchemistsRefuge(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
|
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||||
|
|
||||||
// {tap}: Add {C} to your mana pool.
|
// {tap}: Add {C} to your mana pool.
|
||||||
this.addAbility(new ColorlessManaAbility());
|
this.addAbility(new ColorlessManaAbility());
|
||||||
|
|
||||||
// {G}{U}, {tap}: You may cast nonland cards this turn as though they had flash.
|
// {G}{U}, {tap}: You may cast spells this turn as though they had flash.
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||||
new AddContinuousEffectToGame(new CastAsThoughItHadFlashAllEffect(Duration.EndOfTurn, filter)),
|
new AddContinuousEffectToGame(new CastAsThoughItHadFlashAllEffect(Duration.EndOfTurn, filter)),
|
||||||
new CompositeCost(new ManaCostsImpl("{G}{U}"), new TapSourceCost(), "{G}{U}, {T}")));
|
new CompositeCost(new ManaCostsImpl("{G}{U}"), new TapSourceCost(), "{G}{U}, {T}")));
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,14 +50,14 @@ import mage.filter.common.FilterCreatureCard;
|
||||||
public class WindingCanyons extends CardImpl {
|
public class WindingCanyons extends CardImpl {
|
||||||
|
|
||||||
public WindingCanyons(UUID ownerId, CardSetInfo setInfo) {
|
public WindingCanyons(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
|
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||||
|
|
||||||
// {tap}: Add {C} to your mana pool.
|
// {tap}: Add {C} to your mana pool.
|
||||||
this.addAbility(new ColorlessManaAbility());
|
this.addAbility(new ColorlessManaAbility());
|
||||||
|
|
||||||
// {2}, {tap}: Until end of turn, you may play creature cards as though they had flash.
|
// {2}, {tap}: Until end of turn, you may cast creature spells as though they had flash.
|
||||||
Effect effect = new AddContinuousEffectToGame(new CastAsThoughItHadFlashAllEffect(Duration.EndOfTurn, new FilterCreatureCard()));
|
Effect effect = new AddContinuousEffectToGame(new CastAsThoughItHadFlashAllEffect(Duration.EndOfTurn, new FilterCreatureCard()));
|
||||||
effect.setText("Until end of turn, you may play creature cards as though they had flash");
|
effect.setText("Until end of turn, you may cast creature spells as though they had flash.");
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new GenericManaCost(2));
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new GenericManaCost(2));
|
||||||
ability.addCost(new TapSourceCost());
|
ability.addCost(new TapSourceCost());
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
Loading…
Reference in a new issue