2013-02-14 06:24:27 -08:00
|
|
|
[
|
|
|
|
new MagicCDA() {
|
|
|
|
@Override
|
|
|
|
public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
|
|
|
|
final int size = game.filterPermanents(player,MagicTargetFilter.TARGET_LAND_YOU_CONTROL).size();
|
|
|
|
pt.set(size, size);
|
|
|
|
}
|
|
|
|
},
|
2013-02-14 06:34:29 -08:00
|
|
|
new MagicBloodrushActivation(
|
2013-02-26 21:18:13 -08:00
|
|
|
MagicManaCost.create("{1}{R}{G}"),
|
2013-06-15 07:27:32 -07:00
|
|
|
"Target attacking creature\$ gets +X/+X until end of turn, where X is the number of lands you control."
|
|
|
|
) {
|
2013-02-14 06:24:27 -08:00
|
|
|
@Override
|
2013-03-22 22:00:53 -07:00
|
|
|
public void executeEvent(final MagicGame game,final MagicEvent event) {
|
2013-02-14 06:24:27 -08:00
|
|
|
final int size = game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_LAND_YOU_CONTROL).size();
|
2013-12-01 00:58:07 -08:00
|
|
|
event.processTargetPermanent(game, {
|
|
|
|
final MagicPermanent creature ->
|
|
|
|
game.doAction(new MagicChangeTurnPTAction(creature,size,size));
|
2013-02-14 06:24:27 -08:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|