Fix pay while phased out (e.g Reality Ripple after Junk Golem trigger)

This commit is contained in:
tool4EvEr
2023-02-12 22:45:58 +01:00
parent bd7dfb8a27
commit 26bcf9bb5e

View File

@@ -151,7 +151,7 @@ public class CostRemoveCounter extends CostPart {
amount = getAbilityAmount(ability);
}
if (this.payCostFromSource()) {
return (source.getCounters(cntrs) - amount) >= 0;
return !source.isPhasedOut() && (source.getCounters(cntrs) - amount) >= 0;
}
else {
List<Card> typeList;