mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Ancestral Vision and similar cards should also be castable without paying their mana cost (117.6a).
This commit is contained in:
@@ -141,12 +141,18 @@ public final class GameActionUtil {
|
||||
sar.setZone(null);
|
||||
newSA.setMayPlay(o.getAbility());
|
||||
newSA.setMayPlayOriginal(sa);
|
||||
|
||||
boolean changedManaCost = false;
|
||||
if (o.getPayManaCost() == PayManaCost.NO) {
|
||||
newSA.setBasicSpell(false);
|
||||
newSA.setPayCosts(newSA.getPayCosts().copyWithNoMana());
|
||||
changedManaCost = true;
|
||||
} else if (o.getAltManaCost() != null) {
|
||||
newSA.setBasicSpell(false);
|
||||
newSA.setPayCosts(newSA.getPayCosts().copyWithDefinedMana(o.getAltManaCost()));
|
||||
changedManaCost = true;
|
||||
}
|
||||
if (changedManaCost) {
|
||||
if ("0".equals(sa.getParam("ActivationLimit")) && sa.getHostCard().getManaCost().isNoCost()) {
|
||||
sar.setLimitToCheck(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user