Mad Auntie should regenerate Goblin tribals (i.e., Boggart Shenanigans)
parent
42efd2cdcc
commit
ed0d1c1a1c
|
@ -30,7 +30,7 @@
|
||||||
@Override
|
@Override
|
||||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||||
final MagicTargetFilter<MagicPermanent> targetFilter = new MagicOtherPermanentTargetFilter(
|
final MagicTargetFilter<MagicPermanent> targetFilter = new MagicOtherPermanentTargetFilter(
|
||||||
MagicTargetFilter.TARGET_GOBLIN_CREATURE, source);
|
MagicTargetFilter.TARGET_GOBLIN_PERMANENT, source);
|
||||||
final MagicTargetChoice targetChoice = new MagicTargetChoice(
|
final MagicTargetChoice targetChoice = new MagicTargetChoice(
|
||||||
targetFilter, true, MagicTargetHint.Positive,
|
targetFilter, true, MagicTargetHint.Positive,
|
||||||
"another target Goblin");
|
"another target Goblin");
|
||||||
|
|
|
@ -622,7 +622,14 @@ public interface MagicTargetFilter<T extends MagicTarget> {
|
||||||
MagicPermanentFilterImpl TARGET_GRIFFIN = Factory.creature(MagicSubType.Griffin, Control.Any);
|
MagicPermanentFilterImpl TARGET_GRIFFIN = Factory.creature(MagicSubType.Griffin, Control.Any);
|
||||||
|
|
||||||
MagicPermanentFilterImpl TARGET_BIRD = Factory.creature(MagicSubType.Bird, Control.Any);
|
MagicPermanentFilterImpl TARGET_BIRD = Factory.creature(MagicSubType.Bird, Control.Any);
|
||||||
|
|
||||||
|
MagicPermanentFilterImpl TARGET_GOBLIN_PERMANENT = new MagicPermanentFilterImpl() {
|
||||||
|
public boolean accept(final MagicGame game,final MagicPlayer player,final MagicPermanent target) {
|
||||||
|
return (target.isCreature() || target.hasType(MagicType.Tribal)) &&
|
||||||
|
target.hasSubType(MagicSubType.Goblin);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
MagicPermanentFilterImpl TARGET_GOBLIN_CREATURE = Factory.creature(MagicSubType.Goblin, Control.Any);
|
MagicPermanentFilterImpl TARGET_GOBLIN_CREATURE = Factory.creature(MagicSubType.Goblin, Control.Any);
|
||||||
|
|
||||||
MagicPermanentFilterImpl TARGET_GOBLIN_YOU_CONTROL = Factory.creature(MagicSubType.Goblin, Control.You);
|
MagicPermanentFilterImpl TARGET_GOBLIN_YOU_CONTROL = Factory.creature(MagicSubType.Goblin, Control.You);
|
||||||
|
|
Loading…
Reference in New Issue