replace groovy script with ability in card script
parent
8210bc1e93
commit
2b379a6c3f
|
@ -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;
|
||||
}
|
||||
}
|
||||
]
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue