Menu

Submission for Blood Moon

106

Comment

With help from Melvin. Playtested and working.

Config

name=Blood Moon
image=http://mtgimage.com/card/blood%20moon.jpg
value=2.500
rarity=R
type=Enchantment
cost={2}{R}
timing=main
requires_groovy_code
oracle=Nonbasic lands are Mountains.

Script

[
    new MagicStatic(
        MagicLayer.Ability,
        MagicTargetFilterFactory.NONBASIC_LAND
    )  {
        @Override
        public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
            permanent.loseAllAbilities();
            permanent.addAbility(new MagicTapManaActivation(MagicManaType.getList("{R}")));
        }
    },
    new MagicStatic(
        MagicLayer.Type,
        MagicTargetFilterFactory.NONBASIC_LAND
    )  {
        @Override
        public void modSubTypeFlags(final MagicPermanent permanent, final Set<MagicSubType> flags) {
          flags.clear();
          flags.add(MagicSubType.Mountain);
        }
    }
]
Pushed