mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Novijen Sages - Fixed that it was not possible to pay the activated ability with the counters of Novijen Sages.
This commit is contained in:
parent
5b57a5b6ee
commit
b58d2e88ea
5 changed files with 75 additions and 4 deletions
|
|
@ -288,6 +288,13 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
} else {
|
||||
targets = threats(opponentId, sourceId, ((TargetPermanent) target).getFilter(), game, target.getTargets());
|
||||
}
|
||||
if (targets.isEmpty() && target.isRequired()) {
|
||||
if (!outcome.isGood()) {
|
||||
targets = threats(abilityControllerId, sourceId, ((TargetPermanent) target).getFilter(), game, target.getTargets());
|
||||
} else {
|
||||
targets = threats(opponentId, sourceId, ((TargetPermanent) target).getFilter(), game, target.getTargets());
|
||||
}
|
||||
}
|
||||
}
|
||||
for (Permanent permanent : targets) {
|
||||
if (((TargetPermanent) target).canTarget(abilityControllerId, permanent.getId(), null, game) && !target.getTargets().contains(permanent.getId())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue