mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added the keyword "CARDNAME can attack as though it had haste." and converted Instill Energy.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user