From 8b92c45d4d0cee54ba3c1d62ea7dd77ecc83718a Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 04:48:51 +0000 Subject: [PATCH] Fixed Gigantomancer, you can only target a creature you control now. --- src/forge/CardFactory_Creatures.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index a9bdac95bfc..d6a0daa0936 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -5613,7 +5613,18 @@ public class CardFactory_Creatures { card.addSpellAbility(ability); ability.setDescription("1: Target creature you control becomes 7/7 until end of turn."); //this ability can target "this card" when it shouldn't be able to - ability.setBeforePayMana(CardFactoryUtil.input_targetCreature(ability)); + ability.setBeforePayMana(new Input() { + private static final long serialVersionUID = -7903295056497483023L; + + @Override + public void showMessage() { + String player = card.getController(); + CardList targets = new CardList(AllZone.getZone(Constant.Zone.Play, player).getCards()); + targets = targets.getType("Creature"); + stopSetNext(CardFactoryUtil.input_targetSpecific(ability, targets, + "Select a creature you control", true, false)); + } + }); }//*************** END ************ END ************************** //*************** START *********** START **************************