mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- AI shouldn't try to cast spDestroyTgt cards on untargetable creatures anymore.
This commit is contained in:
@@ -2364,7 +2364,7 @@ public class CardFactory implements NewConstants {
|
|||||||
CardList getTargets() {
|
CardList getTargets() {
|
||||||
CardList tmpList = new CardList();
|
CardList tmpList = new CardList();
|
||||||
tmpList.addAll(AllZone.Human_Play.getCards());
|
tmpList.addAll(AllZone.Human_Play.getCards());
|
||||||
tmpList.filter(new CardListFilter() {
|
tmpList = tmpList.filter(new CardListFilter() {
|
||||||
public boolean addCard(Card c) {
|
public boolean addCard(Card c) {
|
||||||
return (CardFactoryUtil.canTarget(card, c));
|
return (CardFactoryUtil.canTarget(card, c));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user