replace groovy script with ability in card script
parent
1b8f65638d
commit
1d9a7d0e22
|
@ -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;
|
||||
}
|
||||
}
|
||||
]
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue