diff --git a/res/cardsfolder/i/instill_energy.txt b/res/cardsfolder/i/instill_energy.txt index 219426df5b5..ad6ca049e76 100644 --- a/res/cardsfolder/i/instill_energy.txt +++ b/res/cardsfolder/i/instill_energy.txt @@ -5,9 +5,7 @@ Text:no text K:Enchant creature A:SP$ Attach | Cost$ G | ValidTgts$ Creature | AILogic$ Pump A:AB$ Untap | Cost$ 0 | PlayerTurn$ True | ActivationLimit$ 1 | Defined$ Enchanted | SpellDescription$ Untap enchanted creature. Activate this ability only during your turn and only once each turn. -SVar:PlayMain1:True -#AI can't use this effectively right now -SVar:RemAIDeck:True +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ HIDDEN CARDNAME can attack as though it had haste. | Description$ Enchanted creature can attack as though it had haste. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/instill_energy.jpg SetInfo:LEA|Uncommon|http://magiccards.info/scans/en/al/111.jpg diff --git a/src/main/java/forge/CombatUtil.java b/src/main/java/forge/CombatUtil.java index 83eb19111c3..6ede1f54b38 100644 --- a/src/main/java/forge/CombatUtil.java +++ b/src/main/java/forge/CombatUtil.java @@ -632,7 +632,7 @@ public class CombatUtil { * @return a boolean. */ public static boolean canAttack(final Card c) { - if (c.isTapped() || c.isPhasedOut() || (c.hasSickness() && !c.isEnchantedBy("Instill Energy"))) { + if (c.isTapped() || c.isPhasedOut() || (c.hasSickness() && !c.hasKeyword("CARDNAME can attack as though it had haste."))) { return false; }