mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- More cleanup.
This commit is contained in:
@@ -948,7 +948,7 @@ public class SpecialCardAi {
|
|||||||
boolean hasBridge = false;
|
boolean hasBridge = false;
|
||||||
for (Card c : ai.getCardsIn(ZoneType.Battlefield)) {
|
for (Card c : ai.getCardsIn(ZoneType.Battlefield)) {
|
||||||
// Do we have a card in play that makes us want to empty out hand?
|
// Do we have a card in play that makes us want to empty out hand?
|
||||||
if (c.hasSVar("PreferredHandSize") && ai.getGame().getCardsIn(ZoneType.Hand).size() > Integer.parseInt(c.getSVar("PreferredHandSize"))) {
|
if (c.hasSVar("PreferredHandSize") && ai.getCardsIn(ZoneType.Hand).size() > Integer.parseInt(c.getSVar("PreferredHandSize"))) {
|
||||||
hasBridge = true;
|
hasBridge = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user