diff --git a/forge-game/src/main/java/forge/game/card/CardProperty.java b/forge-game/src/main/java/forge/game/card/CardProperty.java index de647f176d6..e4a40ffc851 100644 --- a/forge-game/src/main/java/forge/game/card/CardProperty.java +++ b/forge-game/src/main/java/forge/game/card/CardProperty.java @@ -387,10 +387,6 @@ public class CardProperty { if (!card.canBeSacrificedBy((SpellAbility) spellAbility, false)) { return false; } - } else if (property.startsWith("AttachedBy")) { - if (!card.hasCardAttachment(source)) { - return false; - } } else if (property.equals("Attached")) { if (!source.hasCardAttachment(card)) { return false; @@ -498,7 +494,7 @@ public class CardProperty { return false; } } - } else if (property.startsWith("EquippedBy")) { + } else if (property.startsWith("EquippedBy") || property.startsWith("AttachedBy")) { if (property.substring(10).equals("Targeted")) { for (final Card c : AbilityUtils.getDefinedCards(source, "Targeted", spellAbility)) { if (!card.hasCardAttachment(c)) { @@ -523,11 +519,6 @@ public class CardProperty { if (!card.canBeAttached(source, null)) { return false; } - } else if (property.startsWith("Fortified")) { - // FIXME TODO what property has this? - if (!source.hasCardAttachment(card)) { - return false; - } } else if (property.startsWith("HauntedBy")) { if (!card.isHauntedBy(source)) { return false; diff --git a/forge-game/src/main/java/forge/game/zone/MagicStack.java b/forge-game/src/main/java/forge/game/zone/MagicStack.java index fcdfe3302f6..e4bf85331e9 100644 --- a/forge-game/src/main/java/forge/game/zone/MagicStack.java +++ b/forge-game/src/main/java/forge/game/zone/MagicStack.java @@ -59,6 +59,7 @@ import forge.game.spellability.OptionalCost; import forge.game.spellability.SpellAbility; import forge.game.spellability.SpellAbilityStackInstance; import forge.game.spellability.TargetChoices; +import forge.game.trigger.Trigger; import forge.game.trigger.TriggerType; import forge.game.trigger.WrappedAbility; import forge.util.TextUtil; @@ -835,6 +836,8 @@ public class MagicStack /* extends MyObservable */ implements Iterable