add Wasitora, Nekoru Queen

master
melvinzhang 2017-08-19 19:16:00 +08:00
parent aa37caf7b3
commit 55336e481d
3 changed files with 43 additions and 3 deletions

View File

@ -0,0 +1,10 @@
name=3/3 black, red, and green Cat Dragon creature token with flying
token=Cat Dragon
image=http://magiccards.info/extras/token/commander-2017/cat-dragon.jpg
value=3
type=Creature
subtype=Cat,Dragon
color=brg
pt=3/3
ability=Flying
oracle=Flying

View File

@ -0,0 +1,31 @@
[
new ThisCombatDamagePlayerTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
return new MagicEvent(
permanent,
permanent.getController(),
damage.getTargetPlayer(),
this,
"RN sacrifices a creature. " +
"If RN can't, PN create a 3/3 black, red, and green Cat Dragon creature token with flying."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
final MagicEvent cost = new MagicSacrificePermanentEvent(
event.getSource(),
event.getRefPlayer(),
MagicTargetChoice.A_CREATURE_YOU_CONTROL
);
if (cost.isSatisfied()) {
game.addEvent(cost);
} else {
game.doAction(new PlayTokenAction(
event.getPlayer(),
CardDefinitions.getToken("3/3 black, red, and green Cat Dragon creature token with flying")
));
}
}
}
]

View File

@ -6,8 +6,7 @@ type=Legendary,Creature
subtype=Cat,Dragon
cost={2}{B}{R}{G}
pt=5/4
ability=Flying, trample;\
Whenever SN deals combat damage to a player, that player sacrifices a creature. If the player can't, you create a 3/3 black, red, and green Cat Dragon creature token with flying.
ability=Flying, trample
timing=main
oracle=Flying, trample\nWhenever Wasitora, Nekoru Queen deals combat damage to a player, that player sacrifices a creature. If the player can't, you create a 3/3 black, red, and green Cat Dragon creature token with flying.
status=needs groovy
requires_groovy_code