mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- AI will use pump abilities of non-creatures that require a Sacrifice
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user