replace groovy script with ability in card script
parent
4a6349f88e
commit
5c760a6e19
|
@ -1,26 +0,0 @@
|
|||
[
|
||||
new MagicStatic(
|
||||
MagicLayer.ModPT,
|
||||
MagicTargetFilter.TARGET_WHITE_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_BLUE_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,6 +7,8 @@ type=Creature
|
|||
subtype=Kithkin,Knight
|
||||
cost={1}{W/U}{W/U}{W/U}
|
||||
pt=1/3
|
||||
ability=flash
|
||||
ability=flash,\
|
||||
lord other white creatures you control get +1/+1,\
|
||||
lord other blue creatures you control get +1/+1
|
||||
static=player
|
||||
timing=flash
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue