Merge pull request #3274 from kevlahnota/newmaster2

fix panglacial wurm hidden cardview
This commit is contained in:
Anthony Calosa
2023-06-15 21:31:54 +08:00
committed by GitHub

View File

@@ -1077,6 +1077,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
// Panglacial Wurm
CardCollection canCastWhileSearching = CardLists.getKeyword(fetchList,
"While you're searching your library, you may cast CARDNAME from your library.");
decider.getController().tempShowCards(canCastWhileSearching);
for (final Card tgtCard : canCastWhileSearching) {
List<SpellAbility> sas = AbilityUtils.getBasicSpellsFromPlayEffect(tgtCard, decider);
if (sas.isEmpty()) {
@@ -1093,6 +1094,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
}
//some kind of reset here?
}
decider.getController().endTempShowCards();
}
final Map<AbilityKey, Object> runParams = AbilityKey.mapFromPlayer(decider);
runParams.put(AbilityKey.Target, Lists.newArrayList(player));