added Penumbra Bobcat
parent
d12b7a6592
commit
079854856b
|
@ -0,0 +1,9 @@
|
|||
name=Cat
|
||||
token=Cat21
|
||||
image=http://forums.mtgsalvation.com/attachment.php?attachmentid=19957&d=1143667949
|
||||
value=2
|
||||
type=Creature
|
||||
subtype=Cat
|
||||
color=b
|
||||
cost={0}
|
||||
pt=2/1
|
|
@ -0,0 +1,11 @@
|
|||
name=Penumbra Bobcat
|
||||
url=http://magiccards.info/ap/en/82.html
|
||||
image=http://magiccards.info/scans/en/ap/82.jpg
|
||||
value=3
|
||||
rarity=C
|
||||
type=Creature
|
||||
subtype=Cat
|
||||
cost={2}{G}
|
||||
pt=2/1
|
||||
timing=main
|
||||
requires_card_code
|
|
@ -0,0 +1,31 @@
|
|||
package magic.card;
|
||||
|
||||
import magic.data.TokenCardDefinitions;
|
||||
import magic.model.MagicGame;
|
||||
import magic.model.MagicPermanent;
|
||||
import magic.model.MagicPlayer;
|
||||
import magic.model.action.MagicPlayTokenAction;
|
||||
import magic.model.event.MagicEvent;
|
||||
import magic.model.trigger.MagicWhenDiesTrigger;
|
||||
|
||||
public class Penumbra_Bobcat {
|
||||
public static final Object T = new MagicWhenDiesTrigger() {
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicPermanent permanent) {
|
||||
return new MagicEvent(
|
||||
permanent,
|
||||
this,
|
||||
"PN puts a 2/1 black Cat creature token onto the battlefield."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(
|
||||
final MagicGame game,
|
||||
final MagicEvent event,
|
||||
final Object data[],
|
||||
final Object[] choiceResults) {
|
||||
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Cat21")));
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue