Package mage.abilities

Examples of mage.abilities.LoyaltyAbility


    this.subtype.add("Ajani");
    this.color.setRed(true);
    this.color.setWhite(true);
    this.loyalty = new MageInt(3);

    LoyaltyAbility ability1 = new LoyaltyAbility(new SkipNextUntapTargetEffect(), 1);
    ability1.addTarget(new TargetPermanent());
    this.addAbility(ability1);

    Effects effects1 = new Effects();
    effects1.add(new DamageTargetEffect(3));
    effects1.add(new GainLifeEffect(3));
    LoyaltyAbility ability2 = new LoyaltyAbility(effects1, -2);
    ability2.addTarget(new TargetCreatureOrPlayer());
    this.addAbility(ability2);

    FilterPermanent filter = new FilterPermanent("lands");
    filter.getCardType().add(CardType.LAND);
    LoyaltyAbility ability3 = new LoyaltyAbility(new DestroyAllControlledTargetEffect(filter), -7);
    ability3.addTarget(new TargetPlayer());
    this.addAbility(ability3);


  }
View Full Code Here


    this.expansionSetCode = "M10";
    this.subtype.add("Garruk");
    this.color.setGreen(true);
    this.loyalty = new MageInt(3);

    LoyaltyAbility ability1 = new LoyaltyAbility(new UntapTargetEffect(), 1);
    ability1.addTarget(new TargetLandPermanent(2));
    this.addAbility(ability1);

    this.addAbility(new LoyaltyAbility(new CreateTokenEffect(beastToken), -1));

    Effects effects1 = new Effects();
    effects1.add(new BoostControlledEffect(3, 3, Duration.EndOfTurn));
    effects1.add(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn, FilterCreaturePermanent.getDefault()));
    this.addAbility(new LoyaltyAbility(effects1, -4));
  }
View Full Code Here

    this.expansionSetCode = "ALA";
    this.subtype.add("Elspeth");
    this.color.setWhite(true);
    this.loyalty = new MageInt(4);

    this.addAbility(new LoyaltyAbility(new CreateTokenEffect(soldierToken), 1));

    Effects effects1 = new Effects();
    effects1.add(new BoostTargetEffect(3, 3, Duration.EndOfTurn));
    effects1.add(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
    LoyaltyAbility ability1 = new LoyaltyAbility(effects1, 1);
    ability1.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability1);

    this.addAbility(new LoyaltyAbility(new ElspethKnightErrantEffect(), -8));

  }
View Full Code Here

    this.expansionSetCode = "M10";
    this.subtype.add("Liliana");
    this.color.setBlack(true);
    this.loyalty = new MageInt(5);

    LoyaltyAbility ability1 = new LoyaltyAbility(new DiscardTargetEffect(1), 1);
    ability1.addTarget(new TargetPlayer());
    this.addAbility(ability1);

    this.addAbility(new LoyaltyAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), -2));

    this.addAbility(new LoyaltyAbility(new LilianaVessEffect(), -8));

  }
View Full Code Here

    this.expansionSetCode = "M10";
    this.subtype.add("Chandra ");
    this.color.setRed(true);
    this.loyalty = new MageInt(6);

    LoyaltyAbility ability1 = new LoyaltyAbility(new DamageTargetEffect(1), 1);
    ability1.addTarget(new TargetPlayer());
    this.addAbility(ability1);

    LoyaltyAbility ability2 = new LoyaltyAbility(new DamageXTargetEffect());
    ability2.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability2);

    Effects effects1 = new Effects();
    effects1.add(new DamageTargetEffect(10));
    effects1.add(new DamageAllControlledTargetEffect(10, FilterCreaturePermanent.getDefault()));
    LoyaltyAbility ability3 = new LoyaltyAbility(effects1, -8);
    ability3.addTarget(new TargetPlayer());
    this.addAbility(ability3);
  }
View Full Code Here

    this.loyalty = new MageInt(4);

    Effects effects1 = new Effects();
    effects1.add(new BoostControlledEffect(1, 1, Duration.EndOfTurn));
    effects1.add(new GainAbilityControlledEffect(HasteAbility.getInstance(), Duration.EndOfTurn, FilterCreaturePermanent.getDefault()));
    this.addAbility(new LoyaltyAbility(effects1, 1));

    Effects effects2 = new Effects();
    effects2.add(new GainControlTargetEffect(Duration.EndOfTurn));
    effects2.add(new UntapTargetEffect());
    effects2.add(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));

    LoyaltyAbility ability = new LoyaltyAbility(effects2, -2);
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);

    this.addAbility(new LoyaltyAbility(new CreateTokenEffect(dragonToken), -6));
  }
View Full Code Here

    this.expansionSetCode = "WWK";
    this.subtype.add("Jace");
    this.color.setBlue(true);
    this.loyalty = new MageInt(3);

    LoyaltyAbility ability1 = new LoyaltyAbility(new JaceTheMindSculptorEffect1(), 2);
    ability1.addTarget(new TargetPlayer());
    this.addAbility(ability1);

    LoyaltyAbility ability2 = new LoyaltyAbility(new JaceTheMindSculptorEffect2(), 0);
    this.addAbility(ability2);

    LoyaltyAbility ability3 = new LoyaltyAbility(new ReturnToHandTargetEffect(), -1);
    ability3.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability3);

    LoyaltyAbility ability4 = new LoyaltyAbility(new JaceTheMindSculptorEffect3(), -12);
    ability4.addTarget(new TargetPlayer());
    this.addAbility(ability4);

  }
View Full Code Here

    this.expansionSetCode = "M10";
    this.subtype.add("Ajani");
    this.color.setWhite(true);
    this.loyalty = new MageInt(4);

    this.addAbility(new LoyaltyAbility(new GainLifeEffect(2), 1));

    Effects effects1 = new Effects();
    effects1.add(new AddPlusOneCountersControlledEffect(1));
    effects1.add(new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn, FilterCreaturePermanent.getDefault()));
    this.addAbility(new LoyaltyAbility(effects1, -1));

    this.addAbility(new LoyaltyAbility(new CreateTokenEffect(new AvatarToken()), -6));

  }
View Full Code Here

    this.expansionSetCode = "ROE";
    this.subtype.add("Gideon");
    this.color.setWhite(true);
    this.loyalty = new MageInt(6);

    LoyaltyAbility ability1 = new LoyaltyAbility(new GideonJuraEffect(), 2);
    ability1.addTarget(new TargetOpponent());
    this.addAbility(ability1);

    LoyaltyAbility ability2 = new LoyaltyAbility(new DestroyTargetEffect(), -2);
    ability2.addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(ability2);

    LoyaltyAbility ability3 = new LoyaltyAbility(new BecomesCreatureSourceEOTEffect(new GideonJuraToken(), "planeswalker"), 0);
    ability3.addEffect(new PreventAllDamageSourceEffect(Duration.EndOfTurn));
    this.addAbility(ability3);
  }
View Full Code Here

    this.expansionSetCode = "M10";
    this.subtype.add("Jace");
    this.color.setBlue(true);
    this.loyalty = new MageInt(3);

    this.addAbility(new LoyaltyAbility(new DrawCardAllEffect(1), 2));

    LoyaltyAbility ability1 = new LoyaltyAbility(new DrawCardTargetEffect(1), -1);
    ability1.addTarget(new TargetPlayer());
    this.addAbility(ability1);

    LoyaltyAbility ability2 = new LoyaltyAbility(new PutLibraryIntoGraveTargetEffect(20), -10);
    ability2.addTarget(new TargetPlayer());
    this.addAbility(ability2);

  }
View Full Code Here

TOP

Related Classes of mage.abilities.LoyaltyAbility

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.