generic aura code no filters out things it can't target for the AI

This commit is contained in:
jendave
2011-08-06 23:57:03 +00:00
parent ee3f0a507c
commit 71b2320166

View File

@@ -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;