forked from External/mage
[UDS] Tethered Griffin - fixed wrong rules text (#11108)
This commit is contained in:
parent
025ebee026
commit
23ad5ccae7
1 changed files with 5 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterEnchantmentPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -20,6 +21,9 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class TetheredGriffin extends CardImpl {
|
||||
|
||||
private static final FilterEnchantmentPermanent filter
|
||||
= new FilterEnchantmentPermanent("no enchantments");
|
||||
|
||||
public TetheredGriffin(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{W}");
|
||||
this.subtype.add(SubType.GRIFFIN);
|
||||
|
|
@ -31,7 +35,7 @@ public final class TetheredGriffin extends CardImpl {
|
|||
|
||||
// When you control no enchantments, sacrifice Tethered Griffin.
|
||||
this.addAbility(new ControlsPermanentsControllerTriggeredAbility(
|
||||
StaticFilters.FILTER_PERMANENT_ENCHANTMENT, ComparisonType.EQUAL_TO, 0,
|
||||
filter, ComparisonType.EQUAL_TO, 0,
|
||||
new SacrificeSourceEffect()));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue