- Fixed Reveal effect

This commit is contained in:
swordshine
2013-06-22 05:53:51 +00:00
parent 46f4aa8e35
commit 5253f90284
6 changed files with 8 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ public class RevealEffect extends SpellAbilityEffect {
revealed.add(Aggregates.random(cardsInHand));
}
} else if (sa.hasParam("Defined")) {
} else if (sa.hasParam("RevealDefined")) {
revealed.addAll(AbilityUtils.getDefinedCards(sa.getSourceCard(), sa.getParam("Defined"), sa));
} else {
List<Card> valid = new ArrayList<Card>(cardsInHand);