mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Merge pull request #2297 from tool4ever/sbafix
Increase SBA check precision
This commit is contained in:
@@ -1641,6 +1641,12 @@ public class GameAction {
|
||||
boolean checkAgain = false;
|
||||
if (c.isRealToken()) {
|
||||
final Zone zoneFrom = game.getZoneOf(c);
|
||||
|
||||
// card copies are allowed on the stack
|
||||
if (zoneFrom.is(ZoneType.Stack) && c.getCopiedPermanent() != null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!zoneFrom.is(ZoneType.Battlefield)) {
|
||||
zoneFrom.remove(c);
|
||||
checkAgain = true;
|
||||
|
||||
@@ -160,7 +160,6 @@ public class CopySpellAbilityEffect extends SpellAbilityEffect {
|
||||
copies.add(copy);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
for (int i = 0; i < amount; i++) {
|
||||
@@ -238,7 +237,7 @@ public class CopySpellAbilityEffect extends SpellAbilityEffect {
|
||||
card.addRemembered(copies);
|
||||
}
|
||||
}
|
||||
} // end resolve
|
||||
}
|
||||
|
||||
private void resetFirstTargetOnCopy(SpellAbility copy, GameEntity obj, SpellAbility targetedSA) {
|
||||
copy.resetFirstTarget(obj, targetedSA);
|
||||
|
||||
Reference in New Issue
Block a user