mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed a couple of typos that prevented the AI from using AF Draw, PutCounter, Regenerate and RegenerateAll abilities.
This commit is contained in:
@@ -242,7 +242,7 @@ public class AbilityFactory_Counters {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (CostUtil.checkCreatureSacrificeCost(abCost, source)) {
|
||||
if (!CostUtil.checkCreatureSacrificeCost(abCost, source)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user