mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
[FDN] Implement Kaito, Cunning Infiltrator
This commit is contained in:
parent
3ffd4f177a
commit
a5d2338c5a
6 changed files with 132 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.common.SpellCastAllTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.game.command.Emblem;
|
||||
import mage.game.permanent.token.NinjaToken2;
|
||||
|
||||
/**
|
||||
* @author ciaccona007
|
||||
*/
|
||||
public class KaitoCunningInfiltratorEmblem extends Emblem {
|
||||
// −9: You get an emblem with “Whenever a player casts a spell, you create a 2/1 blue Ninja creature token.”
|
||||
|
||||
public KaitoCunningInfiltratorEmblem() {
|
||||
super("Emblem Kaito");
|
||||
this.getAbilities().add(new SpellCastAllTriggeredAbility(
|
||||
Zone.COMMAND, new CreateTokenEffect(new NinjaToken2()), new FilterSpell(), false, SetTargetPointer.NONE
|
||||
));
|
||||
}
|
||||
|
||||
private KaitoCunningInfiltratorEmblem(final KaitoCunningInfiltratorEmblem card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KaitoCunningInfiltratorEmblem copy() {
|
||||
return new KaitoCunningInfiltratorEmblem(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author ciaccona007
|
||||
*/
|
||||
public final class NinjaToken2 extends TokenImpl {
|
||||
|
||||
public NinjaToken2() {
|
||||
super("Ninja Token", "2/1 blue Ninja creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlue(true);
|
||||
subtype.add(SubType.NINJA);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
private NinjaToken2(final NinjaToken2 token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public NinjaToken2 copy() {
|
||||
return new NinjaToken2(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue