2013-02-13 22:26:30 -08:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
[
|
|
|
|
MagicCondition.CAN_TAP_CONDITION,
|
2013-02-26 21:18:13 -08:00
|
|
|
MagicConditionFactory.ManaCost("{1}{R}")
|
2013-02-13 22:26:30 -08:00
|
|
|
],
|
|
|
|
new MagicActivationHints(MagicTiming.Token),
|
|
|
|
"Token"
|
|
|
|
) {
|
|
|
|
@Override
|
|
|
|
public MagicEvent[] getCostEvent(final MagicPermanent source) {
|
|
|
|
[
|
|
|
|
new MagicTapEvent(source),
|
2013-02-26 21:18:13 -08:00
|
|
|
new MagicPayManaCostEvent(source,source.getController(),MagicManaCost.create("{1}{R}"))
|
2013-02-13 22:26:30 -08:00
|
|
|
];
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(
|
|
|
|
final MagicPermanent source,
|
|
|
|
final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
|
|
|
"Put a 0/1 red Kobold creature token named Kobolds of Kher Keep onto the battlefield."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicEvent event,
|
|
|
|
final Object[] choiceResults) {
|
|
|
|
game.doAction(new MagicPlayTokenAction(
|
|
|
|
event.getPlayer(),
|
2013-02-13 22:50:32 -08:00
|
|
|
TokenCardDefinitions.get("Kobolds")
|
2013-02-13 22:26:30 -08:00
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|