From 65390e09a601cb2e1087788d54d24f5627559984 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 23 Mar 2015 17:36:34 +0100 Subject: [PATCH] * Fixed handling of Singletons gained to face down creatures (fixes Cloudform giving Flying and Hexproof to enchented card). --- Mage/src/mage/abilities/AbilityImpl.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Mage/src/mage/abilities/AbilityImpl.java b/Mage/src/mage/abilities/AbilityImpl.java index ea2cca5004..6f4ac5ffa6 100644 --- a/Mage/src/mage/abilities/AbilityImpl.java +++ b/Mage/src/mage/abilities/AbilityImpl.java @@ -859,11 +859,14 @@ public abstract class AbilityImpl implements Ability { if (!found) { return false; } - } else if (object instanceof PermanentCard) { - if (((PermanentCard)object).isFaceDown(game)&& !this.getWorksFaceDown()) { - return false; - } - } + } + // else if (object instanceof PermanentCard) { + // this check prevents Flying to work if assigned to a face down creature + // Why is this neccessary?? +// if (((PermanentCard)object).isFaceDown(game)&& !this.getWorksFaceDown()) { +// return false; +// } +// } // check against current state Zone test = game.getState().getZone(parameterSourceId);