mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +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;
|
||||
}
|
||||
CardList list = AllZoneUtil.getPlayerTypeInPlay(player, type);
|
||||
list = list.filter(AllZoneUtil.getCanTargetFilter(card));
|
||||
|
||||
if (list.isEmpty()) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user