- The AI can now use Daybreak Coronet.

This commit is contained in:
Sloth
2013-03-14 21:43:08 +00:00
parent 592a18cf32
commit fe73d7433f
2 changed files with 2 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
Name:Daybreak Coronet
ManaCost:W W
Types:Enchantment Aura
Text:Enchant creature with another Aura attached to it
K:Enchant creature
K:Enchant creature with another Aura attached to it
A:SP$ Attach | Cost$ W W | ValidTgts$ Creature.enchanted | TgtPrompt$ Select target enchanted creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 3 | AddToughness$ 3 | AddKeyword$ First Strike & Vigilance & Lifelink | Description$ Enchanted creature gets +3/+3 and has first strike, vigilance, and lifelink. (Damage dealt by the creature also causes its controller to gain that much life.)
T:Mode$ Always | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ1 | Execute$ TrigRemove | Static$ True

View File

@@ -802,7 +802,7 @@ public class AttachAi extends SpellAbilityAi {
}
});
if (attachSource.isAura()) {
if (attachSource.isAura() && !attachSource.getName().equals("Daybreak Coronet")) {
// TODO For Auras like Rancor, that aren't as likely to lead to
// card disadvantage, this check should be skipped
prefList = CardLists.filter(prefList, Predicates.not(Presets.ENCHANTED));