replace groovy script with ability in card script
parent
17a88b4c8a
commit
d6765b8548
|
@ -1,10 +0,0 @@
|
|||
[
|
||||
new MagicStatic(
|
||||
MagicLayer.Ability,
|
||||
MagicTargetFilter.TARGET_CREATURE) {
|
||||
@Override
|
||||
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
||||
flags.add(MagicAbility.Haste);
|
||||
}
|
||||
}
|
||||
]
|
|
@ -5,5 +5,5 @@ value=3.940
|
|||
rarity=R
|
||||
type=Enchantment
|
||||
cost={R}
|
||||
ability=lord ability all creatures have haste
|
||||
timing=enchantment
|
||||
requires_groovy_code
|
||||
|
|
|
@ -17,6 +17,7 @@ public class MagicTargetFilterFactory {
|
|||
factory.put("sliver creatures you control", TARGET_SLIVER_YOU_CONTROL);
|
||||
factory.put("dragon creatures you control", TARGET_DRAGON_YOU_CONTROL);
|
||||
factory.put("all sliver creatures", TARGET_SLIVER);
|
||||
factory.put("all creatures", TARGET_CREATURE);
|
||||
factory.put("goblin creatures", TARGET_GOBLIN_CREATURE);
|
||||
factory.put("black creatures", TARGET_BLACK_CREATURE);
|
||||
factory.put("white creatures you control", TARGET_WHITE_CREATURE_YOU_CONTROL);
|
||||
|
|
Loading…
Reference in New Issue