From f839c1c41c25f54dcdf7755898f6c74a038f178a Mon Sep 17 00:00:00 2001 From: Sloth Date: Sat, 20 Jul 2013 06:47:48 +0000 Subject: [PATCH] - Implemented rule 303.4h for auras. --- .../java/forge/card/ability/effects/AttachEffect.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/forge/card/ability/effects/AttachEffect.java b/src/main/java/forge/card/ability/effects/AttachEffect.java index b2bc8fbc5b3..bf17652b332 100644 --- a/src/main/java/forge/card/ability/effects/AttachEffect.java +++ b/src/main/java/forge/card/ability/effects/AttachEffect.java @@ -89,9 +89,14 @@ public class AttachEffect extends SpellAbilityEffect { // Spellweaver Volute, Dance of the Dead, Animate Dead // Although honestly, I'm not sure if the three of those could // handle being scripted - handleAura(card, c); + // 303.4h: If the card can't be enchanted, the aura doesn't move + if (c.canBeEnchantedBy(card)) { + handleAura(card, c); + } } else if (card.isEquipment()) { - card.equipCard(c); + if(c.canBeEquippedBy(card)) { + card.equipCard(c); + } } else if (card.isFortification()) { card.fortifyCard(c); }