mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix DigMultiple not changing cards when no valid targets
This commit is contained in:
@@ -77,9 +77,8 @@ public class DigMultipleEffect extends SpellAbilityEffect {
|
||||
|
||||
if (validMap.isEmpty()) {
|
||||
chooser.getController().notifyOfValue(sa, null, Localizer.getInstance().getMessage("lblNoValidCards"));
|
||||
continue;
|
||||
}
|
||||
|
||||
else {
|
||||
CardCollection chosen = chooser.getController().chooseCardsForEffectMultiple(validMap, sa, Localizer.getInstance().getMessage("lblChooseCards"), chooseOptional);
|
||||
|
||||
if (!chosen.isEmpty()) {
|
||||
@@ -143,6 +142,7 @@ public class DigMultipleEffect extends SpellAbilityEffect {
|
||||
}
|
||||
rest.remove(c);
|
||||
}
|
||||
}
|
||||
|
||||
// now, move the rest to destZone2
|
||||
if (destZone2 == ZoneType.Library || destZone2 == ZoneType.PlanarDeck || destZone2 == ZoneType.SchemeDeck
|
||||
|
||||
Reference in New Issue
Block a user