* Iroas, God of Victory - Fixed a bug that all damage to controlled creatures was prevented instead only to attacking creatures you control.

This commit is contained in:
LevelX2 2014-05-12 08:43:24 +02:00
parent 3c4a69d117
commit 765652b74b
3 changed files with 6 additions and 7 deletions

View file

@ -58,7 +58,7 @@ public class IroasGodOfVictory extends CardImpl<IroasGodOfVictory> {
private static final FilterControlledCreatureInPlay filterAttacking = new FilterControlledCreatureInPlay("attacking creatures you control"); private static final FilterControlledCreatureInPlay filterAttacking = new FilterControlledCreatureInPlay("attacking creatures you control");
static { static {
filter.add(new ControllerPredicate(TargetController.YOU)); filter.add(new ControllerPredicate(TargetController.YOU));
filterAttacking.add(new AttackingPredicate()); filterAttacking.getCreatureFilter().add(new AttackingPredicate());
} }
public IroasGodOfVictory(UUID ownerId) { public IroasGodOfVictory(UUID ownerId) {

View file

@ -29,12 +29,12 @@
package mage.filter; package mage.filter;
import java.util.UUID; import java.util.UUID;
import mage.game.Game; import mage.game.Game;
/** /**
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
* @param <E>
*/ */
public interface FilterInPlay<E> extends Filter<E> { public interface FilterInPlay<E> extends Filter<E> {

View file

@ -28,14 +28,13 @@
package mage.filter.common; package mage.filter.common;
import mage.filter.FilterImpl;
import mage.filter.FilterInPlay;
import mage.game.Game;
import mage.game.permanent.Permanent;
import java.util.UUID; import java.util.UUID;
import mage.constants.TargetController; import mage.constants.TargetController;
import mage.filter.FilterImpl;
import mage.filter.FilterInPlay;
import mage.filter.predicate.permanent.ControllerPredicate; import mage.filter.predicate.permanent.ControllerPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
/** /**
* *