forked from External/mage
small change to conditional mode choice
This commit is contained in:
parent
22df21d15d
commit
50f892b935
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ public class Modes extends LinkedHashMap<UUID, Mode> implements Copyable<Modes>
|
|||
|
||||
// use case: make more modes chooseable
|
||||
if (moreCondition != null && moreCondition.apply(game, source)) {
|
||||
realMaxModes = this.moreLimit;
|
||||
realMaxModes = Math.min(this.moreLimit, this.size());
|
||||
}
|
||||
|
||||
// use case: limit max modes by opponents (example: choose one or more... each mode must target a different player)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue