mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
* Polis Crusher - Fixed a bug in the made damge to attacked player triggered ability, that the enchantment to select was not restriced to controlled by attacked player.
This commit is contained in:
parent
95b39bd44c
commit
21c156331a
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ public class PolisCrusher extends CardImpl<PolisCrusher> {
|
|||
if (attackedPlayer != null) {
|
||||
ability.getTargets().clear();
|
||||
FilterPermanent filterEnchantment = new FilterEnchantmentPermanent("enchantment attacked player controls");
|
||||
filter.add(new ControllerIdPredicate(attackedPlayer.getId()));
|
||||
filterEnchantment.add(new ControllerIdPredicate(attackedPlayer.getId()));
|
||||
Target target = new TargetPermanent(filterEnchantment);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue