mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Experimental: DigAi prefers to give lands to the opponent instead of functional cards e.g. for Karn, Scion of Urza.
This commit is contained in:
@@ -126,7 +126,7 @@ public class DigAi extends SpellAbilityAi {
|
||||
public Card chooseSingleCard(Player ai, SpellAbility sa, Iterable<Card> valid, boolean isOptional, Player relatedPlayer) {
|
||||
Card chosen = ComputerUtilCard.getBestAI(valid);
|
||||
if (sa.getActivatingPlayer().isOpponentOf(ai) && relatedPlayer.isOpponentOf(ai)) {
|
||||
return ComputerUtilCard.getWorstAI(valid);
|
||||
return ComputerUtilCard.getWorstPermanentAI(valid, false, true, false, false);
|
||||
}
|
||||
return chosen;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user