mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Fix Scapeshift returning Lake of the Dead + Swamp which it can sacrifice (#5300)
This commit is contained in:
@@ -107,7 +107,9 @@ public class SacrificeEffect extends SpellAbilityEffect {
|
||||
} else {
|
||||
CardCollectionView choosenToSacrifice = null;
|
||||
for (final Player p : getTargetPlayers(sa)) {
|
||||
CardCollectionView battlefield = p.getCardsIn(ZoneType.Battlefield);
|
||||
CardCollection battlefield = new CardCollection(p.getCardsIn(ZoneType.Battlefield));
|
||||
battlefield.removeIf(c -> !zoneMovements.getLastStateBattlefield().contains(c));
|
||||
|
||||
if (sacEachValid) { // Sacrifice maximum permanents in any combination of types specified by SacValid
|
||||
String [] validArray = valid.split(" & ");
|
||||
String [] msgArray = msg.split(" & ");
|
||||
|
||||
Reference in New Issue
Block a user