mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge pull request #2553 from Agetian/master
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 (list.contains(source) && 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