- AI should only target targetable creatures with Threaten.

This commit is contained in:
jendave
2011-08-06 05:04:00 +00:00
parent 3da692f2dd
commit 5140358c94

View File

@@ -6975,7 +6975,8 @@ public class CardFactory implements NewConstants {
//only use this card if creatures power is greater than 2
CardList list = new CardList(AllZone.Human_Play.getCards());
for(int i = 0; i < list.size(); i++)
if(2 < list.get(i).getNetAttack() && AllZone.Phase.getPhase().equals(Constant.Phase.Main1))
if(2 < list.get(i).getNetAttack() && AllZone.Phase.getPhase().equals(Constant.Phase.Main1) &&
CardFactoryUtil.canTarget(card, list.get(i)))
return true;
return false;