mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added a filter to ComputerAI_General.getMain2() and this should prevent the computer from summoning Ball Lightning type creatures during main phase 2.
- Minor fix to code block for Breath of Life; False Defeat; Resurrection; Zombify.
This commit is contained in:
@@ -219,6 +219,10 @@ public class ComputerAI_General implements Computer {
|
|||||||
all.addAll(AllZone.Computer_Hand.getCards());
|
all.addAll(AllZone.Computer_Hand.getCards());
|
||||||
all.addAll(AllZone.Computer_Play.getCards());
|
all.addAll(AllZone.Computer_Play.getCards());
|
||||||
all.addAll(CardFactoryUtil.getFlashbackCards(Constant.Player.Computer).toArray());
|
all.addAll(CardFactoryUtil.getFlashbackCards(Constant.Player.Computer).toArray());
|
||||||
|
|
||||||
|
// Prevent the computer from summoning Ball Lightning type creatures during main phase 2
|
||||||
|
all = all.getNotKeyword("At the beginning of the end step, sacrifice CARDNAME.");
|
||||||
|
|
||||||
all = all.filter(new CardListFilter() {
|
all = all.filter(new CardListFilter() {
|
||||||
public boolean addCard(Card c) {
|
public boolean addCard(Card c) {
|
||||||
if(c.isLand()) return false;
|
if(c.isLand()) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user