mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- The AI will now react better when faced with creatures with "CARDNAME can't attack or block alone.".
This commit is contained in:
@@ -99,11 +99,6 @@ public class CombatUtil {
|
||||
}
|
||||
}
|
||||
|
||||
final CardList list = AllZoneUtil.getCreaturesInPlay(blocker.getController());
|
||||
if (list.size() < 2 && blocker.hasKeyword("CARDNAME can't attack or block alone.")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((combat.getAllBlockers().size() > 0) && AllZoneUtil.isCardInPlay("Dueling Grounds")) {
|
||||
return false;
|
||||
}
|
||||
@@ -136,6 +131,11 @@ public class CombatUtil {
|
||||
return false;
|
||||
}
|
||||
|
||||
final CardList list = AllZoneUtil.getCreaturesInPlay(blocker.getController());
|
||||
if (list.size() < 2 && blocker.hasKeyword("CARDNAME can't attack or block alone.")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user