added Ghor-Clan Rampager

master
melvin 2013-02-14 22:15:23 +08:00
parent bedf5fea9e
commit e6ff670866
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,23 @@
[
new MagicBloodrushActivation(MagicManaCost.RED_GREEN) {
@Override
public MagicEvent getCardEvent(final MagicCard source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
MagicTargetChoice.POS_TARGET_ATTACKING_CREATURE,
MagicPumpTargetPicker.create(),
this,
"Target attacking creature\$ gets +4/+4 and gains trample until end of turn."
);
}
@Override
public void executeEvent(final MagicGame game,final MagicEvent event,final Object[] choiceResults) {
event.processTargetPermanent(game,choiceResults,0,new MagicPermanentAction() {
public void doAction(final MagicPermanent creature) {
game.doAction(new MagicChangeTurnPTAction(creature,4,4));
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.Trample));
}
});
}
}
]

View File

@ -0,0 +1,12 @@
name=Ghor-Clan Rampager
url=http://magiccards.info/gtc/en/167.html
image=http://magiccards.info/scans/en/gtc/167.jpg
value=2.365
rarity=U
type=Creature
subtype=Beast
cost={2}{R}{G}
pt=4/4
ability=trample
timing=main
requires_groovy_code