mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
* Rhonas's Monument - Fixed wrong target definition (fixes #3150).
This commit is contained in:
parent
cc57c2fad9
commit
1e06c9d2e3
1 changed files with 3 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ import mage.filter.FilterSpell;
|
||||||
import mage.filter.predicate.Predicates;
|
import mage.filter.predicate.Predicates;
|
||||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||||
import mage.filter.predicate.mageobject.ColorPredicate;
|
import mage.filter.predicate.mageobject.ColorPredicate;
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
import mage.target.common.TargetControlledCreaturePermanent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
@ -62,6 +62,7 @@ public class RhonassMonument extends CardImpl {
|
||||||
static {
|
static {
|
||||||
filter.add(Predicates.and(new ColorPredicate(ObjectColor.GREEN), new CardTypePredicate(CardType.CREATURE)));
|
filter.add(Predicates.and(new ColorPredicate(ObjectColor.GREEN), new CardTypePredicate(CardType.CREATURE)));
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter2.add(new CardTypePredicate(CardType.CREATURE));
|
filter2.add(new CardTypePredicate(CardType.CREATURE));
|
||||||
}
|
}
|
||||||
|
|
@ -79,7 +80,7 @@ public class RhonassMonument extends CardImpl {
|
||||||
Effect effect = new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn);
|
Effect effect = new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn);
|
||||||
effect.setText(" and gains trample until end of turn");
|
effect.setText(" and gains trample until end of turn");
|
||||||
ability.addEffect(effect);
|
ability.addEffect(effect);
|
||||||
ability.addTarget(new TargetCreaturePermanent());
|
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue