added Festerhide Boar and Fortress Crab

master
beholder 2011-09-26 15:12:26 +02:00
parent 0782931b7c
commit 4f674717a7
2 changed files with 63 additions and 0 deletions

View File

@ -4263,6 +4263,31 @@ pt=1/2
ability=trample
timing=main
>Festerhide Boar
image=http://magiccards.info/scans/en/isd/179.jpg
value=3
rarity=C
type=Creature
subtype=Boar
color=g
converted=4
cost={3}{G}
pt=3/3
ability=trample
timing=smain
>Fortress Crab
image=http://magiccards.info/scans/en/isd/56.jpg
value=2
rarity=C
type=Creature
subtype=Crab
color=u
converted=4
cost={3}{U}
pt=1/6
timing=main
>Morkrut Banshee
image=http://magiccards.info/scans/en/isd/110.jpg
value=4

View File

@ -0,0 +1,38 @@
package magic.card;
import magic.model.MagicCounterType;
import magic.model.MagicGame;
import magic.model.MagicPlayer;
import magic.model.MagicPermanent;
import magic.model.action.MagicChangeCountersAction;
import magic.model.event.MagicEvent;
import magic.model.trigger.MagicWhenComesIntoPlayTrigger;
public class Festerhide_Boar {
public static final MagicWhenComesIntoPlayTrigger T = new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
if (game.getCreatureDiedThisTurn()) {
game.doAction(new MagicChangeCountersAction(
permanent,
MagicCounterType.PlusOne,
2,
true));
return new MagicEvent(
permanent,
player,
new Object[]{permanent},
this,
permanent + " enters the battlefield with two +1/+1 counters on it ");
}
return MagicEvent.NONE;
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object data[],
final Object[] choiceResults) {
}
};
}