* Possibility Storm - Fixed a bug that it was not correctly checked if the player was able to cast modal spells.

This commit is contained in:
LevelX2 2015-07-03 08:29:17 +02:00
parent 4aebcd2399
commit a33ed68c74
4 changed files with 91 additions and 28 deletions

View file

@ -872,9 +872,13 @@ public abstract class AbilityImpl implements Ability {
@Override
public boolean canChooseTarget(Game game) {
int found = 0;
for (Mode mode : modes.values()) {
if (mode.getTargets().canChoose(sourceId, controllerId, game)) {
return true;
found++;
if (found >= getModes().getMinModes()) {
return true;
}
}
}
return false;