Refactor - rename different empblems that were named the same

This commit is contained in:
JOAC69 2016-09-23 19:08:24 -05:00
parent 3e2c3a6ab2
commit 4cd4dbfcd2
2 changed files with 6 additions and 6 deletions

View file

@ -80,7 +80,7 @@ public class SorinLordOfInnistrad extends CardImpl {
this.addAbility(new LoyaltyAbility(new CreateTokenEffect(new VampireToken()), 1));
// -2: You get an emblem with "Creatures you control get +1/+0."
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new SorinEmblem()), -2));
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new SorinLordOfInnistradEmblem()), -2));
// -6: Destroy up to three target creatures and/or other planeswalkers. Return each card put into a graveyard this way to the battlefield under your control.
LoyaltyAbility ability = new LoyaltyAbility(new SorinLordOfInnistradEffect(), -6);
@ -111,9 +111,9 @@ class VampireToken extends Token {
}
}
class SorinEmblem extends Emblem {
class SorinLordOfInnistradEmblem extends Emblem {
public SorinEmblem() {
public SorinLordOfInnistradEmblem() {
this.setName("EMBLEM: Sorin, Lord of Innistrad");
BoostControlledEffect effect = new BoostControlledEffect(1, 0, Duration.EndOfGame);
Ability ability = new SimpleStaticAbility(Zone.COMMAND, effect);

View file

@ -77,7 +77,7 @@ public class SorinSolemnVisitor extends CardImpl {
this.addAbility(new LoyaltyAbility(new CreateTokenEffect(new SorinSolemnVisitorVampireToken()), -2));
// -6: You get an emblem with "At the beginning of each opponent's upkeep, that player sacrifices a creature."
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new SorinEmblem()), -6));
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new SorinSolemnVisitorEmblem()), -6));
}
@ -95,9 +95,9 @@ public class SorinSolemnVisitor extends CardImpl {
* Emblem: "At the beginning of each opponent's upkeep, that player sacrifices a
* creature."
*/
class SorinEmblem extends Emblem {
class SorinSolemnVisitorEmblem extends Emblem {
public SorinEmblem() {
public SorinSolemnVisitorEmblem() {
this.setName("EMBLEM: Sorin, Solemn Visitor");
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.COMMAND, new SacrificeEffect(new FilterCreaturePermanent(), 1, "that player"), TargetController.OPPONENT, false, true);
this.getAbilities().add(ability);