Mana String comparison isn't in CostChange

This commit is contained in:
Sol
2011-09-07 02:27:22 +00:00
parent 689a360e27
commit 2e99e50a5c

View File

@@ -301,12 +301,10 @@ public class Cost {
CostMana costMana = (CostMana)part; CostMana costMana = (CostMana)part;
String mana = getTotalMana(); String mana = getTotalMana();
if ("0".equals(mana)) { // 11/15/10 use getTotalMana() to account for X reduction
costMana.setAdjustedMana(AllZone.getGameAction().getSpellCostChange(sa, new ManaCost(mana)).toString()); costMana.setAdjustedMana(AllZone.getGameAction().getSpellCostChange(sa, new ManaCost(mana)).toString());
} }
} }
} }
}
/** /**
* <p>refundPaidCost.</p> * <p>refundPaidCost.</p>