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