mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed Haphazard Bombardment not being able to choose creatures with hexproof/shroud (fixes #5027)
This commit is contained in:
parent
5d7fb2d19d
commit
a3213fb786
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.h;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -86,7 +85,7 @@ class HaphazardBombardmentEffect extends OneShotEffect {
|
|||
List<Permanent> permanents = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game);
|
||||
if (permanents.size() > 4) {
|
||||
permanents.clear();
|
||||
TargetPermanent target = new TargetPermanent(4, filter);
|
||||
TargetPermanent target = new TargetPermanent(4, 4, filter, true);
|
||||
controller.chooseTarget(outcome, target, source, game);
|
||||
for (UUID targetId : target.getTargets()) {
|
||||
Permanent permanent = game.getPermanent(targetId);
|
||||
|
|
Loading…
Reference in a new issue