forked from External/mage
43 lines
1.3 KiB
Java
43 lines
1.3 KiB
Java
|
|
package mage.cards.o;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.Ability;
|
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
|
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.counters.CounterType;
|
|
import mage.target.common.TargetControlledCreaturePermanent;
|
|
|
|
/**
|
|
*
|
|
* @author fireshoes
|
|
*/
|
|
public final class OrneryKudu extends CardImpl {
|
|
|
|
public OrneryKudu(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
|
|
|
this.subtype.add(SubType.ANTELOPE);
|
|
this.power = new MageInt(3);
|
|
this.toughness = new MageInt(4);
|
|
|
|
// When Ornery Kudu enters the battlefield, put a -1/-1 counter on target creature you control.
|
|
Ability ability = new EntersBattlefieldTriggeredAbility(new AddCountersTargetEffect(CounterType.M1M1.createInstance(1)));
|
|
ability.addTarget(new TargetControlledCreaturePermanent());
|
|
this.addAbility(ability);
|
|
}
|
|
|
|
private OrneryKudu(final OrneryKudu card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public OrneryKudu copy() {
|
|
return new OrneryKudu(this);
|
|
}
|
|
}
|