Add Leonin Warleader

master
Ada Joule 2018-11-09 14:33:24 +07:00 committed by Melvin Zhang
parent c94ba6740e
commit 54dc97e5eb
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,22 @@
[
new ThisAttacksTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPermanent attacker) {
return new MagicEvent(
permanent,
this,
"PN creates two 1/1 white Cat creature tokens with lifelink that are tapped and attacking"
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2.times {
game.doAction(new PlayTokenAction(
event.getPlayer(),
CardDefinitions.getToken("1/1 white Cat creature token with lifelink"),
MagicPlayMod.TAPPED_AND_ATTACKING
));
}
}
}
]

View File

@ -6,6 +6,6 @@ type=Creature
subtype=Cat,Soldier
cost={2}{W}{W}
pt=4/4
ability=Whenever SN attacks, create two 1/1 white Cat creature tokens with lifelink that are tapped and attacking.
timing=main
requires_groovy_code
oracle=Whenever Leonin Warleader attacks, create two 1/1 white Cat creature tokens with lifelink that are tapped and attacking.