mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Fixed Proliferate. Fixed Issue 275.
This commit is contained in:
parent
28d887dff2
commit
6f884817fe
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ public class ProliferateEffect extends OneShotEffect<ProliferateEffect> {
|
|||
Map<String, Serializable> options = new HashMap<String, Serializable>();
|
||||
options.put("UI.right.btn.text", "Done");
|
||||
while (target.canChoose(controller.getId(), game)) {
|
||||
if (!controller.choose(Outcome.Benefit, target, source.getSourceId(), game, options)) {
|
||||
if (controller.choose(Outcome.Benefit, target, source.getSourceId(), game, options)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -173,7 +173,7 @@ public class TargetPermanentOrPlayer extends TargetImpl<TargetPermanentOrPlayer>
|
|||
}
|
||||
}
|
||||
for (Permanent permanent: game.getBattlefield().getActivePermanents(filterPermanent, sourceControllerId, game)) {
|
||||
if (filter.match(permanent, null, sourceControllerId, game)) {
|
||||
if (filter.match(permanent, null, sourceControllerId, game) && filter.match(permanent)) {
|
||||
count++;
|
||||
if (count >= this.minNumberOfTargets)
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue