replace groovy script with ability in card script

master
melvin 2013-08-26 13:24:38 +08:00
parent d6765b8548
commit 7829b493bd
4 changed files with 3 additions and 11 deletions

View File

@ -1,10 +0,0 @@
[
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
pt.add(-1,0);
}
}
]

View File

@ -6,6 +6,6 @@ removal=1
rarity=U
type=Artifact
cost={3}{U}
ability=lord pt creatures your opponents control get -1/-0
static=opponent
timing=artifact
requires_groovy_code

View File

@ -6,4 +6,5 @@ rarity=R
type=Enchantment
cost={R}
ability=lord ability all creatures have haste
static=a
timing=enchantment

View File

@ -14,6 +14,7 @@ public class MagicTargetFilterFactory {
static {
factory.put("creatures you control", TARGET_CREATURE_YOU_CONTROL);
factory.put("creatures your opponents control", TARGET_CREATURE_YOUR_OPPONENT_CONTROLS);
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);