diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/MoxOpal.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/MoxOpal.java index cdf28d43b0..d6e2c90023 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/MoxOpal.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/MoxOpal.java @@ -32,10 +32,15 @@ import mage.constants.CardType; import mage.constants.Rarity; import mage.abilities.Ability; import mage.abilities.costs.common.MetalcraftCost; -import mage.abilities.mana.AnyColorManaAbility; import mage.cards.CardImpl; import java.util.UUID; +import mage.abilities.condition.common.MetalcraftCondition; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.effects.common.AddManaOfAnyColorEffect; +import mage.abilities.mana.ActivateIfConditionManaAbility; +import mage.constants.AbilityWord; +import mage.constants.Zone; /** * @@ -48,8 +53,12 @@ public class MoxOpal extends CardImpl { this.supertype.add("Legendary"); this.expansionSetCode = "SOM"; - Ability ability = new AnyColorManaAbility(); - ability.addCost(new MetalcraftCost()); + Ability ability = new ActivateIfConditionManaAbility( + Zone.BATTLEFIELD, + new AddManaOfAnyColorEffect(), + new TapSourceCost(), + MetalcraftCondition.getInstance()); + ability.setAbilityWord(AbilityWord.METALCRAFT); this.addAbility(ability); } diff --git a/Mage/src/mage/abilities/effects/common/LookLibraryAndPickControllerEffect.java b/Mage/src/mage/abilities/effects/common/LookLibraryAndPickControllerEffect.java index ee78931caa..0a305a840d 100644 --- a/Mage/src/mage/abilities/effects/common/LookLibraryAndPickControllerEffect.java +++ b/Mage/src/mage/abilities/effects/common/LookLibraryAndPickControllerEffect.java @@ -133,7 +133,7 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff TargetCard target = new TargetCard((upTo ? 0:numberToPick.calculate(game, source, this)),numberToPick.calculate(game, source, this), Zone.PICK, pickFilter); if (player.choose(Outcome.DrawCard, cards, target, game)) { Cards reveal = new CardsImpl(); - for (UUID cardId : (List)target.getTargets()) { + for (UUID cardId : target.getTargets()) { Card card = cards.get(cardId, game); if (card != null) { cards.remove(card); diff --git a/Mage/src/mage/abilities/effects/common/LookLibraryControllerEffect.java b/Mage/src/mage/abilities/effects/common/LookLibraryControllerEffect.java index f1493a51e9..87529bf822 100644 --- a/Mage/src/mage/abilities/effects/common/LookLibraryControllerEffect.java +++ b/Mage/src/mage/abilities/effects/common/LookLibraryControllerEffect.java @@ -210,7 +210,7 @@ public class LookLibraryControllerEffect extends OneShotEffect { if (putOnTop) { sb.append("on your library (last chosen will be on top)"); } else { - sb.append("on bottom of your library (last chosen will be on bottom)"); + sb.append("on bottom of your library (last chosen will be mostbottom)"); } return sb.toString(); }