mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
[KHM] fixed Frostpyre Arcanist being used incorrectly by AI (#7488)
This commit is contained in:
parent
3727e2ea42
commit
bc99de1a48
3 changed files with 60 additions and 10 deletions
|
|
@ -1816,7 +1816,8 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
abilityControllerId = target.getAbilityController();
|
||||
}
|
||||
|
||||
List<Card> cardChoices = new ArrayList<>(cards.getCards(target.getFilter(), game));
|
||||
// we still use playerId when getting cards even if they don't control the search
|
||||
List<Card> cardChoices = new ArrayList<>(cards.getCards(target.getFilter(), source != null ? source.getSourceId() : null, playerId, game));
|
||||
while (!target.doneChosing()) {
|
||||
Card card = pickTarget(abilityControllerId, cardChoices, outcome, target, source, game);
|
||||
if (card != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue