- Added the keyword "CARDNAME can attack as though it had haste." and converted Instill Energy.

This commit is contained in:
Sloth
2011-11-18 11:02:35 +00:00
parent 56ddea8e21
commit ae5183d1fc
2 changed files with 2 additions and 4 deletions

View File

@@ -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

View File

@@ -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;
}