mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Improve PumpAi for cards like Pearlspear Courier.
This commit is contained in:
@@ -438,6 +438,10 @@ public class PumpAi extends PumpAiBase {
|
||||
list = CardLists.getTargetableCards(list, sa);
|
||||
CardLists.sortByPowerDesc(list);
|
||||
|
||||
if (source.hasKeyword("You may choose not to untap CARDNAME during your untap step.") && sa.getPayCosts().hasTapCost()) {
|
||||
list.remove(source); // don't tap a card that will be tapped as a part of the cost and won't untap normally.
|
||||
}
|
||||
|
||||
// Try not to kill own creatures with this pump
|
||||
CardCollection canDieToPump = new CardCollection();
|
||||
for (Card c : list) {
|
||||
|
||||
Reference in New Issue
Block a user