mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fix pay while phased out (e.g Reality Ripple after Junk Golem trigger)
This commit is contained in:
@@ -151,7 +151,7 @@ public class CostRemoveCounter extends CostPart {
|
|||||||
amount = getAbilityAmount(ability);
|
amount = getAbilityAmount(ability);
|
||||||
}
|
}
|
||||||
if (this.payCostFromSource()) {
|
if (this.payCostFromSource()) {
|
||||||
return (source.getCounters(cntrs) - amount) >= 0;
|
return !source.isPhasedOut() && (source.getCounters(cntrs) - amount) >= 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
List<Card> typeList;
|
List<Card> typeList;
|
||||||
|
|||||||
Reference in New Issue
Block a user