mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Added an addStackingExtrinsicKeyword method to Card.java.
- Added another phase after the declare attackers phase during the human player's turn as well (can cast instants/abilities). The main reason for this change is that before this, the computer would decide on its blockers while triggered abilities of attackers hadn't happened yet. - AI should target the human player's creatures now with Seal of Removal. - Deleted GUI_PictureHQ.java for now, since it causes compile errors.
This commit is contained in:
@@ -14288,7 +14288,6 @@ public class CardFactory implements NewConstants {
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Primal Boost"))
|
||||
{
|
||||
@@ -15699,13 +15698,13 @@ return land.size() > 1 && CardFactoryUtil.AI_isMainPhase();
|
||||
}//chooseTargetAI()
|
||||
CardList getCreature()
|
||||
{
|
||||
CardList list = new CardList(AllZone.Computer_Play.getCards());
|
||||
CardList list = new CardList(AllZone.Human_Play.getCards());
|
||||
list = list.filter(new CardListFilter()
|
||||
{
|
||||
public boolean addCard(Card c)
|
||||
{
|
||||
return c.isCreature() && (c.getNetAttack() >= 3|| c.getKeyword().contains("Flying") ||
|
||||
c.isEnchanted());
|
||||
c.isEnchanted()) && CardFactoryUtil.canTarget(card, c);
|
||||
}
|
||||
});
|
||||
return list;
|
||||
|
||||
Reference in New Issue
Block a user