- AI will use pump abilities of non-creatures that require a Sacrifice

This commit is contained in:
jendave
2011-08-07 00:36:44 +00:00
parent 1a681abeb5
commit d5bf123e5d

View File

@@ -263,7 +263,7 @@ public class AbilityFactory_Pump {
return false; return false;
// temporarily disabled until AI is improved // temporarily disabled until AI is improved
if (AF.getAbCost().getSacCost()) return false; if (AF.getAbCost().getSacCost() && sa.getSourceCard().isCreature()) return false;
if (AF.getAbCost().getLifeCost()) { if (AF.getAbCost().getLifeCost()) {
if (!AF.isCurse()) return false; //Use life only to kill creatures if (!AF.isCurse()) return false; //Use life only to kill creatures
if (AllZone.ComputerPlayer.getLife() - AF.getAbCost().getLifeAmount() < 4) if (AllZone.ComputerPlayer.getLife() - AF.getAbCost().getLifeAmount() < 4)