replace groovy script with ability in card script

master
melvin 2013-08-27 10:32:06 +08:00
parent ff8b3c5472
commit e05a4a8004
2 changed files with 3 additions and 19 deletions

View File

@ -1,18 +0,0 @@
[
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_ILLUSION_YOU_CONTROL) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
pt.add(1,1);
}
},
new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_ILLUSION_YOU_CONTROL) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.Hexproof);
}
}
]

View File

@ -7,5 +7,7 @@ type=Creature
subtype=Human,Wizard
cost={U}{U}
pt=2/2
ability=lord illusion creatures you control get +1/+1,\
lord illusion creatures you control have hexproof
static=player
timing=main
requires_groovy_code