Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions Mage.Sets/src/mage/cards/m/MODOKEvilIntellect.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package mage.cards.m;

import java.util.UUID;
import mage.MageInt;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.StaticFilters;
import mage.target.common.TargetOpponent;
import mage.abilities.Ability;
import mage.abilities.common.DrawNthCardTriggeredAbility;
import mage.abilities.effects.common.SacrificeEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;

/**
*
* @author muz
*/
public final class MODOKEvilIntellect extends CardImpl {

public MODOKEvilIntellect(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}{B}{B}");

this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.VILLAIN);
this.power = new MageInt(3);
this.toughness = new MageInt(5);

// Flying
this.addAbility(FlyingAbility.getInstance());

// Whenever you draw your second card each turn, target opponent sacrifices a nontoken creature of their choice.
Ability ability = new DrawNthCardTriggeredAbility(
new SacrificeEffect(StaticFilters.FILTER_CREATURE_NON_TOKEN, 1, "target opponent"), false, 2
);
ability.addTarget(new TargetOpponent());
this.addAbility(ability);
}

private MODOKEvilIntellect(final MODOKEvilIntellect card) {
super(card);
}

@Override
public MODOKEvilIntellect copy() {
return new MODOKEvilIntellect(this);
}
}