mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Allow AI to use Bloodrush ability
This commit is contained in:
@@ -101,6 +101,9 @@ public class ComputerUtilCost {
|
|||||||
final CostDiscard disc = (CostDiscard) part;
|
final CostDiscard disc = (CostDiscard) part;
|
||||||
|
|
||||||
final String type = disc.getType();
|
final String type = disc.getType();
|
||||||
|
if (type.equals("CARDNAME") && source.getAbilityText().contains("Bloodrush")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
final List<Card> typeList = CardLists.getValidCards(ai.getCardsIn(ZoneType.Hand), type.split(","), source.getController(), source);
|
final List<Card> typeList = CardLists.getValidCards(ai.getCardsIn(ZoneType.Hand), type.split(","), source.getController(), source);
|
||||||
if (typeList.size() > ai.getMaxHandSize()) {
|
if (typeList.size() > ai.getMaxHandSize()) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user