replace groovy script with ability in card script

master
melvin 2013-08-27 10:29:19 +08:00
parent 1b8f65638d
commit 1d9a7d0e22
2 changed files with 4 additions and 29 deletions

View File

@ -1,26 +0,0 @@
[
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_RED_CREATURE_YOU_CONTROL) {
@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_GREEN_CREATURE_YOU_CONTROL) {
@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

@ -7,7 +7,8 @@ type=Creature
subtype=Goblin,Knight
cost={1}{R/G}{R/G}{R/G}
pt=3/4
ability=trample
ability=trample,\
lord other red creatures you control get +1/+1,\
lord other green creatures you control get +1/+1
static=player
timing=fmain
requires_groovy_code
timing=main