- Fixed a couple of typos that prevented the AI from using AF Draw, PutCounter, Regenerate and RegenerateAll abilities.

This commit is contained in:
Sloth
2011-09-15 19:28:09 +00:00
parent 826007378d
commit 0a414c62f5
3 changed files with 4 additions and 4 deletions

View File

@@ -242,7 +242,7 @@ public class AbilityFactory_Counters {
return false;
}
if (CostUtil.checkCreatureSacrificeCost(abCost, source)) {
if (!CostUtil.checkCreatureSacrificeCost(abCost, source)) {
return false;
}

View File

@@ -191,7 +191,7 @@ public class AbilityFactory_Regenerate {
if (!CostUtil.checkSacrificeCost(abCost, hostCard))
return false;
if (CostUtil.checkCreatureSacrificeCost(abCost, hostCard))
if (!CostUtil.checkCreatureSacrificeCost(abCost, hostCard))
return false;
}
@@ -551,7 +551,7 @@ public class AbilityFactory_Regenerate {
if (!CostUtil.checkSacrificeCost(abCost, hostCard))
return false;
if (CostUtil.checkCreatureSacrificeCost(abCost, hostCard))
if (!CostUtil.checkCreatureSacrificeCost(abCost, hostCard))
return false;
if (!CostUtil.checkLifeCost(abCost, hostCard, 4))

View File

@@ -194,7 +194,7 @@ public class AbilityFactory_ZoneAffecting {
if (abCost != null) {
// AI currently disabled for these costs
if (CostUtil.checkCreatureSacrificeCost(abCost, source))
if (!CostUtil.checkCreatureSacrificeCost(abCost, source))
return false;
if (!CostUtil.checkLifeCost(abCost, source, 4))