mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Improve the AI use of Sokenzan, tweak the deck a little.
This commit is contained in:
@@ -1041,6 +1041,18 @@ public class ComputerUtil {
|
||||
}
|
||||
} // AntiBuffedBy
|
||||
|
||||
// Plane cards that give Haste (e.g. Sokenzan)
|
||||
for (Card c : ai.getGame().getActivePlanes()) {
|
||||
for (StaticAbility s : c.getStaticAbilities()) {
|
||||
if (s.hasParam("AddKeyword")
|
||||
&& s.getParam("AddKeyword").contains("Haste")
|
||||
&& "Creature".equals(s.getParam("Affected"))
|
||||
&& card.isCreature()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
final CardCollectionView vengevines = ai.getCardsIn(ZoneType.Graveyard, "Vengevine");
|
||||
if (!vengevines.isEmpty()) {
|
||||
final CardCollectionView creatures = ai.getCardsIn(ZoneType.Hand);
|
||||
|
||||
Reference in New Issue
Block a user