mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix missing checks (#5601)
This commit is contained in:
@@ -96,7 +96,7 @@ public class PhasesEffect extends SpellAbilityEffect {
|
||||
}
|
||||
} else { // just phase out
|
||||
for (final Card tgtC : tgtCards) {
|
||||
if (!tgtC.isPhasedOut()) {
|
||||
if (!tgtC.isPhasedOut() && !StaticAbilityCantPhase.cantPhaseOut(tgtC)) {
|
||||
tgtC.phase(false);
|
||||
if (tgtC.isPhasedOut()) {
|
||||
if (sa.hasParam("RememberAffected")) {
|
||||
|
||||
@@ -5570,6 +5570,9 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
|
||||
// CR 702.26g
|
||||
if (!getAllAttachedCards().isEmpty()) {
|
||||
for (final Card eq : getAllAttachedCards()) {
|
||||
if (!eq.isPhasedOut() && StaticAbilityCantPhase.cantPhaseOut(eq)) {
|
||||
continue;
|
||||
}
|
||||
if (eq.isPhasedOut() == phasingIn) {
|
||||
eq.phase(fromUntapStep, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user