- The AI of AF Pump will now check drawbacks (fixes Seeds of Strength).

This commit is contained in:
Sloth
2012-08-19 19:20:56 +00:00
parent 6b555c2551
commit 48c679acbb

View File

@@ -855,7 +855,16 @@ public class AbilityFactoryPump {
return false; return false;
} }
//Targeted //Targeted
return this.pumpTgtAI(sa, defense, attack, false); if (!this.pumpTgtAI(sa, defense, attack, false)) {
return false;
}
final AbilitySub subAb = sa.getSubAbility();
if (subAb != null && !subAb.chkAIDrawback()) {
return false;
}
return true;
} // pumpPlayAI() } // pumpPlayAI()
/** /**
@@ -1164,7 +1173,15 @@ public class AbilityFactoryPump {
} }
} }
} else { } else {
return this.pumpTgtAI(sa, defense, attack, false); //Targeted
if (!this.pumpTgtAI(sa, defense, attack, false)) {
return false;
}
final AbilitySub subAb = sa.getSubAbility();
if (subAb != null && !subAb.chkAIDrawback()) {
return false;
}
} }
return true; return true;