- Little tweak in gainLifeCanPlayAI.

This commit is contained in:
Sloth
2012-01-07 20:53:46 +00:00
parent bae66a8967
commit f6e63f9a5e

View File

@@ -272,19 +272,17 @@ public class AbilityFactoryAlterLife {
return false;
}
if (abCost != null) {
if (life > 5) {
if (!CostUtil.checkSacrificeCost(abCost, source)) {
return false;
}
if (abCost != null && life > 5) {
if (!CostUtil.checkSacrificeCost(abCost, source)) {
return false;
}
if (!CostUtil.checkLifeCost(abCost, source, 4)) {
return false;
}
if (!CostUtil.checkLifeCost(abCost, source, 4)) {
return false;
}
if (!CostUtil.checkDiscardCost(abCost, source)) {
return false;
}
if (!CostUtil.checkDiscardCost(abCost, source)) {
return false;
}
if (!CostUtil.checkRemoveCounterCost(abCost, source)) {