replace groovy script with ability in card script

master
melvin 2013-08-27 10:09:11 +08:00
parent 8210bc1e93
commit 2b379a6c3f
2 changed files with 3 additions and 28 deletions

View File

@ -1,26 +0,0 @@
[
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_BIRD) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
pt.add(1,1);
}
@Override
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return source != target;
}
},
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_SOLDIER) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
pt.add(1,1);
}
@Override
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return source != target;
}
}
]

View File

@ -6,8 +6,9 @@ rarity=R
type=Creature
subtype=Bird,Soldier
cost={3}{W}{W}{W}
ability=flying
pt=3/5
ability=flying,\
lord other bird creatures get +1/+1,\
lord other soldier creatures get +1/+1
static=all
timing=main
requires_groovy_code