mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[TMT] Implement Kitsune's Technique (#14297)
This commit is contained in:
parent
baa6460f95
commit
4842eb9d2e
1 changed files with 37 additions and 0 deletions
37
Mage.Sets/src/mage/cards/k/KitsunesTechnique.java
Normal file
37
Mage.Sets/src/mage/cards/k/KitsunesTechnique.java
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.effects.common.MillHalfLibraryTargetEffect;
|
||||
import mage.abilities.keyword.SneakAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetOpponent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author muz
|
||||
*/
|
||||
public final class KitsunesTechnique extends CardImpl {
|
||||
|
||||
public KitsunesTechnique(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{U}{U}");
|
||||
|
||||
// Sneak {1}{U}
|
||||
this.addAbility(new SneakAbility(this, "{1}{U}"));
|
||||
|
||||
// Target opponent mills half their library, rounded up.
|
||||
this.getSpellAbility().addEffect(new MillHalfLibraryTargetEffect(true));
|
||||
this.getSpellAbility().addTarget(new TargetOpponent());
|
||||
}
|
||||
|
||||
private KitsunesTechnique(final KitsunesTechnique card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KitsunesTechnique copy() {
|
||||
return new KitsunesTechnique(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue