mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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")) {
|
if ((combat.getAllBlockers().size() > 0) && AllZoneUtil.isCardInPlay("Dueling Grounds")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -136,6 +131,11 @@ public class CombatUtil {
|
|||||||
return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user