mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
* 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:
parent
3c4a69d117
commit
765652b74b
3 changed files with 6 additions and 7 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue