Пример #1
0
 public GlintHawkIdolAbility1(GameState state) {
   super(
       state,
       "(W): Glint Hawk Idol becomes a 2/2 Bird artifact creature with flying until end of turn.");
   this.setManaCost(new ManaPool("(W)"));
   Animator animate = new Animator(ABILITY_SOURCE_OF_THIS, 2, 2);
   animate.addSubType(SubType.BIRD);
   animate.addType(Type.ARTIFACT);
   animate.addType(Type.CREATURE);
   animate.addAbility(org.rnd.jmagic.abilities.keywords.Flying.class);
   this.addEffect(
       createFloatingEffect(
           "Glint Hawk Idol becomes a 2/2 Bird artifact creature with flying until end of turn.",
           animate.getParts()));
 }
Пример #2
0
    public AnimateTreetop(GameState state) {
      super(
          state,
          "(1)(G): Treetop Village becomes a 3/3 green Ape creature with trample until end of turn. It's still a land.");

      this.setManaCost(new ManaPool("1G"));

      Animator animator = new Animator(ABILITY_SOURCE_OF_THIS, 3, 3);
      animator.addColor(Color.GREEN);
      animator.addSubType(SubType.APE);
      animator.addAbility(org.rnd.jmagic.abilities.keywords.Trample.class);
      this.addEffect(
          createFloatingEffect(
              "Treetop Village becomes a 3/3 green Ape creature with trample until end of turn. It's still a land.",
              animator.getParts()));
    }
Пример #3
0
    public TezzeretAgentofBolasAbility1(GameState state) {
      super(
          state,
          -1,
          "Target artifact becomes an artifact creature with base power and toughness 5/5.");

      SetGenerator target =
          targetedBy(this.addTarget(ArtifactPermanents.instance(), "target artifact"));

      Animator animate = new Animator(target, 5, 5);
      animate.addType(Type.ARTIFACT);
      animate.removeOldTypes();
      this.addEffect(
          createFloatingEffect(
              Empty.instance(),
              "Target artifact becomes an artifact creature with base power and toughness 5/5.",
              animate.getParts()));
    }
Пример #4
0
 public GlintHawkIdolAbility0(GameState state) {
   super(
       state,
       "Whenever another artifact enters the battlefield under your control, you may have Glint Hawk Idol become a 2/2 Bird artifact creature with flying until end of turn.");
   this.addPattern(
       new SimpleZoneChangePattern(
           null,
           Battlefield.instance(),
           RelativeComplement.instance(HasType.instance(Type.ARTIFACT), ABILITY_SOURCE_OF_THIS),
           You.instance(),
           false));
   Animator animate = new Animator(ABILITY_SOURCE_OF_THIS, 2, 2);
   animate.addSubType(SubType.BIRD);
   animate.addType(Type.ARTIFACT);
   animate.addType(Type.CREATURE);
   animate.addAbility(org.rnd.jmagic.abilities.keywords.Flying.class);
   this.addEffect(
       youMay(
           createFloatingEffect(
               "Glint Hawk Idol becomes a 2/2 Bird artifact creature with flying until end of turn.",
               animate.getParts()),
           "You may have Glint Hawk Idol become a 2/2 Bird artifact creature with flying until end of turn."));
 }
Пример #5
0
    public AzoriusKeyruneAbility1(GameState state) {
      super(
          state,
          "(W)(U): Azorius Keyrune becomes a 2/2 white and blue Bird artifact creature with flying until end of turn.");
      this.setManaCost(new ManaPool("(W)(U)"));

      Animator animator = new Animator(ABILITY_SOURCE_OF_THIS, 2, 2);
      animator.addColor(Color.WHITE);
      animator.addColor(Color.BLUE);
      animator.addSubType(SubType.BIRD);
      animator.addType(Type.ARTIFACT);
      animator.addAbility(org.rnd.jmagic.abilities.keywords.Flying.class);
      this.addEffect(
          createFloatingEffect(
              "Azorius Keyrune becomes a 2/2 white and blue Bird artifact creature with flying until end of turn.",
              animator.getParts()));
    }
Пример #6
0
    public OrzhovKeyruneAbility1(GameState state) {
      super(
          state,
          "(W)(B): Orzhov Keyrune becomes a 1/4 white and black Thrull artifact creature with lifelink until end of turn.");
      this.setManaCost(new ManaPool("(W)(B)"));

      Animator animate = new Animator(ABILITY_SOURCE_OF_THIS, 1, 4);
      animate.addColor(Color.WHITE);
      animate.addColor(Color.BLACK);
      animate.addSubType(SubType.THRULL);
      animate.addType(Type.ARTIFACT);
      animate.addAbility(Lifelink.class);
      this.addEffect(
          createFloatingEffect(
              "Orzhov Keyrune becomes a 1/4 white and black Thrull artifact creature with lifelink until end of turn.",
              animate.getParts()));
    }