mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
[FIN] Implement Qutrub Forayer
This commit is contained in:
parent
684b2944aa
commit
3f5e17e357
26 changed files with 160 additions and 288 deletions
|
|
@ -35,7 +35,7 @@ public class SourceTargetsPermanentCondition implements Condition {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "it targets " + filter.getMessage();
|
||||
return "it targets " + CardUtil.addArticle(filter.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,7 @@ import mage.filter.common.*;
|
|||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.*;
|
||||
import mage.filter.predicate.other.AnotherTargetPredicate;
|
||||
import mage.filter.predicate.permanent.AttachedOrShareCreatureTypePredicate;
|
||||
import mage.filter.predicate.permanent.RingBearerPredicate;
|
||||
import mage.filter.predicate.permanent.TappedPredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.filter.predicate.permanent.*;
|
||||
|
||||
/**
|
||||
* A class that holds Filter objects that may not be modified without copying
|
||||
|
|
@ -1216,6 +1213,22 @@ public final class StaticFilters {
|
|||
FILTER_BLOCKING_CREATURES.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterPermanent FILTER_CREATURE_DAMAGED_THIS_TURN = new FilterCreaturePermanent("creature that was dealt damage this turn");
|
||||
|
||||
static {
|
||||
FILTER_CREATURE_DAMAGED_THIS_TURN.add(WasDealtDamageThisTurnPredicate.instance);
|
||||
FILTER_CREATURE_DAMAGED_THIS_TURN.setLockedFilter(true);
|
||||
}
|
||||
|
||||
|
||||
public static final FilterPermanent FILTER_OPPONENTS_CREATURE_DAMAGED_THIS_TURN = new FilterCreaturePermanent("creature an opponent controls that was dealt damage this turn");
|
||||
|
||||
static {
|
||||
FILTER_OPPONENTS_CREATURE_DAMAGED_THIS_TURN.add(TargetController.OPPONENT.getControllerPredicate());
|
||||
FILTER_OPPONENTS_CREATURE_DAMAGED_THIS_TURN.add(WasDealtDamageThisTurnPredicate.instance);
|
||||
FILTER_OPPONENTS_CREATURE_DAMAGED_THIS_TURN.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterPermanent FILTER_PERMANENT_AURAS = new FilterEnchantmentPermanent("Auras");
|
||||
|
||||
static {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue