- Ancestral Vision and similar cards should also be castable without paying their mana cost (117.6a).

This commit is contained in:
Agetian
2017-09-10 11:46:34 +00:00
parent 8adf2043f7
commit f8786bcd47

View File

@@ -141,12 +141,18 @@ public final class GameActionUtil {
sar.setZone(null); sar.setZone(null);
newSA.setMayPlay(o.getAbility()); newSA.setMayPlay(o.getAbility());
newSA.setMayPlayOriginal(sa); newSA.setMayPlayOriginal(sa);
boolean changedManaCost = false;
if (o.getPayManaCost() == PayManaCost.NO) { if (o.getPayManaCost() == PayManaCost.NO) {
newSA.setBasicSpell(false); newSA.setBasicSpell(false);
newSA.setPayCosts(newSA.getPayCosts().copyWithNoMana()); newSA.setPayCosts(newSA.getPayCosts().copyWithNoMana());
changedManaCost = true;
} else if (o.getAltManaCost() != null) { } else if (o.getAltManaCost() != null) {
newSA.setBasicSpell(false); newSA.setBasicSpell(false);
newSA.setPayCosts(newSA.getPayCosts().copyWithDefinedMana(o.getAltManaCost())); newSA.setPayCosts(newSA.getPayCosts().copyWithDefinedMana(o.getAltManaCost()));
changedManaCost = true;
}
if (changedManaCost) {
if ("0".equals(sa.getParam("ActivationLimit")) && sa.getHostCard().getManaCost().isNoCost()) { if ("0".equals(sa.getParam("ActivationLimit")) && sa.getHostCard().getManaCost().isNoCost()) {
sar.setLimitToCheck(null); sar.setLimitToCheck(null);
} }