mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
merge latest trunk
This commit is contained in:
@@ -9171,7 +9171,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
|
||||
int requestedCMC = 0;
|
||||
|
||||
if (getRules().getSplitType() == CardSplitType.Split) {
|
||||
if (getRules() != null && getRules().getSplitType() == CardSplitType.Split) {
|
||||
switch(mode) {
|
||||
case CurrentSideCMC:
|
||||
// TODO: test if this returns combined CMC for the full face (then get rid of CombinedCMC mode?)
|
||||
|
||||
@@ -1201,7 +1201,9 @@ public class AbilityUtils {
|
||||
&& ComputerUtilCost.checkDamageCost(payer, ability.getPayCosts(), source, 4)
|
||||
&& ComputerUtilCost.checkDiscardCost(payer, ability.getPayCosts(), source)
|
||||
&& (!source.getName().equals("Tyrannize") || payer.getCardsIn(ZoneType.Hand).size() > 2)
|
||||
&& (!source.getName().equals("Breaking Point") || payer.getCreaturesInPlay().size() > 1)) {
|
||||
&& (!source.getName().equals("Breaking Point") || payer.getCreaturesInPlay().size() > 1)
|
||||
&& (!source.getName().equals("Chain of Vapor")
|
||||
|| (payer.getOpponent().getCreaturesInPlay().size() > 0 && payer.getLandsInPlay().size() > 3))) {
|
||||
// AI was crashing because the blank ability used to pay costs
|
||||
// Didn't have any of the data on the original SA to pay dependant costs
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user