mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 03:39:54 -08:00
* Some fixes/chnages to AI player. Needs probably some more testing.
This commit is contained in:
parent
c53c09a59b
commit
fa0a40b0d6
8 changed files with 209 additions and 150 deletions
|
|
@ -342,14 +342,12 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect {
|
|||
while (jaceExileZone.count(filter, game) > 0 && controller.choose(Outcome.PlayForFree, jaceExileZone, target, game)) {
|
||||
Card card = game.getCard(target.getFirstTarget());
|
||||
if (card != null) {
|
||||
|
||||
if (controller.cast(card.getSpellAbility(), game, true)) {
|
||||
game.getExile().removeCard(card, game);
|
||||
}
|
||||
}
|
||||
target.clearChosen();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue