added Mutilate
parent
7c26347d74
commit
b3bf067c41
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
new MagicSpellCardEvent() {
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
cardOnStack,
|
||||
this,
|
||||
"All creatures get -1/-1 until end of turn for each Swamp you control."
|
||||
);
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
final MagicPlayer you = event.getPlayer();
|
||||
Collection<MagicPermanent> creatures = game.filterPermanents(
|
||||
you,
|
||||
MagicTargetFilter.TARGET_CREATURE
|
||||
)
|
||||
final int amt = you.getNrOfPermanents(MagicSubType.Swamp);
|
||||
for (final MagicPermanent creature : creatures) {
|
||||
game.doAction(new MagicChangeTurnPTAction(
|
||||
creature,
|
||||
-amt,
|
||||
-amt
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,10 @@
|
|||
name=Mutilate
|
||||
url=http://magiccards.info/m13/en/102.html
|
||||
image=http://magiccards.info/scans/en/m13/102.jpg
|
||||
value=4.632
|
||||
removal=3
|
||||
rarity=R
|
||||
type=Sorcery
|
||||
cost={2}{B}{B}
|
||||
timing=removal
|
||||
requires_groovy_code
|
Loading…
Reference in New Issue