mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00: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.mageobject.CardTypePredicate;
|
||||
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 {
|
||||
filter.add(Predicates.and(new ColorPredicate(ObjectColor.GREEN), new CardTypePredicate(CardType.CREATURE)));
|
||||
}
|
||||
|
||||
static {
|
||||
filter2.add(new CardTypePredicate(CardType.CREATURE));
|
||||
}
|
||||
|
@ -79,7 +80,7 @@ public class RhonassMonument extends CardImpl {
|
|||
Effect effect = new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn);
|
||||
effect.setText(" and gains trample until end of turn");
|
||||
ability.addEffect(effect);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue