mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
[WHO] Implement Yasmin Khan
This commit is contained in:
parent
aa1624dc1c
commit
9fede85c06
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/y/YasminKhan.java
Normal file
48
Mage.Sets/src/mage/cards/y/YasminKhan.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.y;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEndOfTurnEffect;
|
||||
import mage.abilities.keyword.DoctorsCompanionAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class YasminKhan extends CardImpl {
|
||||
|
||||
public YasminKhan(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.DETECTIVE);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// {T}: Exile the top card of your library. Until your next end step, you may play it.
|
||||
this.addAbility(new SimpleActivatedAbility(new ExileTopXMayPlayUntilEndOfTurnEffect(
|
||||
1, false, Duration.UntilYourNextEndStep
|
||||
), new TapSourceCost()));
|
||||
|
||||
// Doctor's companion
|
||||
this.addAbility(DoctorsCompanionAbility.getInstance());
|
||||
}
|
||||
|
||||
private YasminKhan(final YasminKhan card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public YasminKhan copy() {
|
||||
return new YasminKhan(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -26,5 +26,6 @@ public final class DoctorWho extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Plains", 197, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sarah Jane Smith", 6, Rarity.RARE, mage.cards.s.SarahJaneSmith.class));
|
||||
cards.add(new SetCardInfo("Swamp", 201, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Yasmin Khan", 7, Rarity.RARE, mage.cards.y.YasminKhan.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue