Menu

Submission for Ultimate Price

124

Comment

hg diff diff -r 4bc19558cf5c src/magic/model/target/MagicTargetFilter.java --- a/src/magic/model/target/MagicTargetFilter.java Tue Mar 04 12:00:08 2014 -0600 +++ b/src/magic/model/target/MagicTargetFilter.java Tue Mar 04 12:25:30 2014 -0600 @@ -800,10 +800,10 @@ } }; - MagicPermanentFilterImpl TARGET_NONBLACK_CREATURE=new MagicPermanentFilterImpl() { + MagicPermanentFilterImpl TARGET_MONOCOLORED_CREATURE=new MagicPermanentFilterImpl() { public boolean accept(final MagicGame game,final MagicPlayer player,final MagicPermanent target) { return target.isCreature() && - !target.hasColor(MagicColor.Black); + MagicColor.isMono(target); } }; diff -r 4bc19558cf5c src/magic/model/target/MagicTargetFilterFactory.java --- a/src/magic/model/target/MagicTargetFilterFactory.java Tue Mar 04 12:00:08 2014 -0600 +++ b/src/magic/model/target/MagicTargetFilterFactory.java Tue Mar 04 12:25:30 2014 -0600 @@ -51,6 +51,7 @@ factory.put("creatures without flying", TARGET_CREATURE_WITHOUT_FLYING); factory.put("nonblack creatures", TARGET_NONBLACK_CREATURE); factory.put("nonwhite creatures", TARGET_NONWHITE_CREATURE); + factory.put("monocolored creatures", TARGET_MONOCOLORED_CREATURE); factory.put("artifacts", TARGET_ARTIFACT); // used by MagicTargetChoice @@ -58,6 +59,7 @@ single.put("player", TARGET_PLAYER); single.put("1/1 creature", TARGET_1_1_CREATURE); single.put("nonblack creature", TARGET_NONBLACK_CREATURE); + single.put("monocolored creature", TARGET_MONOCOLORED_CREATURE); single.put("black creature you control", TARGET_BLACK_CREATURE_YOU_CONTROL); single.put("non-Angel creature you control", TARGET_NON_ANGEL_CREATURE_YOU_CONTROL); single.put("noncreature", TARGET_NONCREATURE);

Config

name=Ultimate Price
url=http://magiccards.info/rtr/en/82.html
image=http://mtgimage.com/card/ultimate%20price.jpg
value=4.176
removal=3
rarity=U
type=Instant
cost={1}{B}
timing=removal
effect=Destroy target monocolored creature.

Script

Pushed