mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fix Oliphaunt to be creatures you control.
This commit is contained in:
parent
722627baa2
commit
c826c111bc
1 changed files with 8 additions and 1 deletions
|
|
@ -22,6 +22,13 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class Oliphaunt extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledCreaturePermanent("another target creature you control");
|
||||
|
||||
static {
|
||||
filter.add(AnotherPredicate.instance);
|
||||
}
|
||||
|
||||
public Oliphaunt(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{R}");
|
||||
|
||||
|
|
@ -37,7 +44,7 @@ public final class Oliphaunt extends CardImpl {
|
|||
.setText("another target creature you control gets +2/+0"));
|
||||
ability.addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance())
|
||||
.setText("and gains trample until end of turn"));
|
||||
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_ANOTHER_TARGET_CREATURE));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Mountaincycling {1}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue