mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
[ORI] Added 6 black cards.
This commit is contained in:
parent
0ee0ba3a95
commit
123d1e4ec6
20 changed files with 1005 additions and 232 deletions
|
|
@ -1525,7 +1525,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
return modes.getMode();
|
||||
}
|
||||
//TODO: improve this;
|
||||
for (Mode mode : modes.values()) {
|
||||
for (Mode mode : modes.getAvailableModes(source, game)) {
|
||||
if (!modes.getSelectedModes().contains(mode.getId()) // select only modes not already selected
|
||||
&& mode.getTargets().canChoose(source.getSourceId(), source.getControllerId(), game)) { // and where targets are available
|
||||
return mode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue