Add Lathliss, Dragon Queen

master
Ada Joule 2018-11-09 13:39:24 +07:00 committed by Melvin Zhang
parent edb8ed71f3
commit 9093fb203f
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,26 @@
[
new OtherEntersBattlefieldTrigger() {
@Override
public boolean accept(final MagicPermanent permanent, final MagicPermanent played) {
return played.isNonToken() &&
played.hasSubType(MagicSubType.Dragon) &&
played.isFriend(permanent);
}
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPermanent played) {
return new MagicEvent(
permanent,
this,
"PN creates a 5/5 red Dragon creature token with flying."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new PlayTokenAction(
event.getPlayer(),
CardDefinitions.getToken("5/5 red Dragon creature token with flying")
));
}
}
]

View File

@ -7,7 +7,7 @@ subtype=Dragon
cost={4}{R}{R}
pt=6/6
ability=Flying;\
Whenever another nontoken Dragon enters the battlefield under your control, create a 5/5 red Dragon creature token with flying.;\
{1}{R}: Dragons you control get +1/+0 until end of turn.
timing=main
requires_groovy_code
oracle=Flying\nWhenever another nontoken Dragon enters the battlefield under your control, create a 5/5 red Dragon creature token with flying.\n{1}{R}: Dragons you control get +1/+0 until end of turn.