replace filterTargets with filterPermanents
parent
37f4623ae9
commit
f87d4ab5c3
|
@ -27,10 +27,9 @@ public class Wrap_in_Vigor {
|
|||
final MagicGame game,
|
||||
final MagicEvent event,
|
||||
final Object[] choiceResults) {
|
||||
final Collection<MagicTarget> targets =
|
||||
game.filterTargets(event.getPlayer(),MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL);
|
||||
for (final MagicTarget target : targets) {
|
||||
final MagicPermanent creature=(MagicPermanent)target;
|
||||
final Collection<MagicPermanent> targets =
|
||||
game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL);
|
||||
for (final MagicPermanent creature : targets) {
|
||||
game.doAction(new MagicRegenerateAction(creature));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue