replace filterTargets with filterPermanents
parent
2ae2103274
commit
92e61eeee1
|
@ -39,13 +39,14 @@ public class Victory_s_Herald {
|
||||||
final MagicEvent event,
|
final MagicEvent event,
|
||||||
final Object[] choiceResults) {
|
final Object[] choiceResults) {
|
||||||
|
|
||||||
final Collection<MagicTarget> targets = game.filterTargets(
|
final Collection<MagicPermanent> targets = game.filterPermanents(
|
||||||
event.getPlayer(),
|
event.getPlayer(),
|
||||||
MagicTargetFilter.TARGET_ATTACKING_CREATURE);
|
MagicTargetFilter.TARGET_ATTACKING_CREATURE);
|
||||||
for (final MagicTarget target : targets) {
|
for (final MagicPermanent target : targets) {
|
||||||
game.doAction(new MagicSetAbilityAction(
|
game.doAction(new MagicSetAbilityAction(
|
||||||
(MagicPermanent)target,
|
target,
|
||||||
VICTORYS_HERALD_FLAGS));
|
VICTORYS_HERALD_FLAGS
|
||||||
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue