mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Improved castPermanentInMain1 function.
This commit is contained in:
@@ -4,7 +4,6 @@ Types:Enchantment Aura
|
||||
A:SP$ Attach | Cost$ 1 U U | ValidTgts$ Creature.cmcLE2 | TgtPrompt$ Select target creature with converted mana cost 2 or less | AILogic$ GainControl
|
||||
K:Enchant creature with converted mana cost 2 or less
|
||||
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | GainControl$ You | Description$ You control enchanted creature.
|
||||
SVar:PlayMain1:TRUE
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/threads_of_disloyalty.jpg
|
||||
Oracle:Enchant creature with converted mana cost 2 or less\nYou control enchanted creature.
|
||||
SetInfo:BOK Rare
|
||||
@@ -826,7 +826,7 @@ public class ComputerUtil {
|
||||
if ("True".equals(card.getSVar("NonStackingEffect")) && card.getController().isCardInPlay(card.getName())) {
|
||||
return false;
|
||||
}
|
||||
if (card.getSVar("PlayMain1").equals("TRUE")) {
|
||||
if (card.getSVar("PlayMain1").equals("TRUE") && !card.getController().getCreaturesInPlay().isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
if ((card.isCreature() && (ComputerUtil.hasACardGivingHaste(ai)
|
||||
|
||||
Reference in New Issue
Block a user