mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Check isDividedAsYouChoose
This commit is contained in:
@@ -302,7 +302,7 @@ public class TargetRestrictions {
|
||||
*/
|
||||
public final boolean isMinTargetsChosen(final Card c, final SpellAbility sa) {
|
||||
int min = getMinTargets(c, sa);
|
||||
if (min == 0 || sa.getDividedValue() == 0) {
|
||||
if (min == 0 || (sa.isDividedAsYouChoose() && sa.getDividedValue() == 0)) {
|
||||
return true;
|
||||
}
|
||||
return min <= sa.getTargets().size();
|
||||
|
||||
Reference in New Issue
Block a user