mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
generic aura code no filters out things it can't target for the AI
This commit is contained in:
@@ -1309,6 +1309,7 @@ class CardFactory_Auras {
|
|||||||
player = AllZone.ComputerPlayer;
|
player = AllZone.ComputerPlayer;
|
||||||
}
|
}
|
||||||
CardList list = AllZoneUtil.getPlayerTypeInPlay(player, type);
|
CardList list = AllZoneUtil.getPlayerTypeInPlay(player, type);
|
||||||
|
list = list.filter(AllZoneUtil.getCanTargetFilter(card));
|
||||||
|
|
||||||
if (list.isEmpty()) return false;
|
if (list.isEmpty()) return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user