mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Limited the failing of the AI when faced with Ogre Marauder.
This commit is contained in:
@@ -482,6 +482,9 @@ public class AbilityFactorySacrifice {
|
|||||||
CardList sacList = null;
|
CardList sacList = null;
|
||||||
for (final Player p : tgts) {
|
for (final Player p : tgts) {
|
||||||
if (p.isComputer()) {
|
if (p.isComputer()) {
|
||||||
|
if (params.containsKey("Optional") && sa.getActivatingPlayer().isHuman()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
sacList = AbilityFactorySacrifice.sacrificeAI(p, amount, valid, sa, destroy);
|
sacList = AbilityFactorySacrifice.sacrificeAI(p, amount, valid, sa, destroy);
|
||||||
} else {
|
} else {
|
||||||
sacList = AbilityFactorySacrifice.sacrificeHuman(p, amount, valid, sa, destroy,
|
sacList = AbilityFactorySacrifice.sacrificeHuman(p, amount, valid, sa, destroy,
|
||||||
|
|||||||
Reference in New Issue
Block a user