replace filterTargets with filterPermanents

master
melvin 2012-10-07 22:36:03 +08:00
parent 3c607e9a33
commit 8c8ab3b500
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ public class Novablast_Wurm {
final MagicTargetFilter targetFilter =
new MagicTargetFilter.MagicOtherPermanentTargetFilter(
MagicTargetFilter.TARGET_CREATURE,permanent);
final Collection<MagicTarget> targets=
game.filterTargets(permanent.getController(),targetFilter);
final Collection<MagicPermanent> targets=
game.filterPermanents(permanent.getController(),targetFilter);
game.doAction(new MagicDestroyAction(targets));
}
};