Refactor - changed SnappingDrake and EagleOfTheWatch to only derive from one version for card reorg

This commit is contained in:
JOAC69 2016-09-24 00:28:01 -05:00
parent 671fca15d6
commit adf9c1bfe0
3 changed files with 7 additions and 18 deletions

View file

@ -39,16 +39,12 @@ import mage.cards.CardImpl;
*
* @author Loki
*/
public class SnappingDrake extends CardImpl {
public class SnappingDrake extends mage.sets.ravnica.SnappingDrake {
public SnappingDrake(UUID ownerId) {
super(ownerId, 72, "Snapping Drake", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{U}");
super(ownerId);
this.cardNumber = "72";
this.expansionSetCode = "M10";
this.subtype.add("Drake");
this.power = new MageInt(3);
this.toughness = new MageInt(2);
this.addAbility(FlyingAbility.getInstance());
}
public SnappingDrake(final SnappingDrake card) {

View file

@ -39,19 +39,12 @@ import mage.constants.Rarity;
*
* @author LevelX2
*/
public class EagleOfTheWatch extends CardImpl {
public class EagleOfTheWatch extends mage.sets.journeyintonyx.EagleOfTheWatch {
public EagleOfTheWatch(UUID ownerId) {
super(ownerId, 275, "Eagle of the Watch", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{W}");
super(ownerId);
this.cardNumber = "275";
this.expansionSetCode = "ORI";
this.subtype.add("Bird");
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Vigilance
this.addAbility(VigilanceAbility.getInstance());
}
public EagleOfTheWatch(final EagleOfTheWatch card) {

View file

@ -33,7 +33,7 @@ import java.util.UUID;
*
* @author Plopman
*/
public class SnappingDrake extends mage.sets.magic2010.SnappingDrake {
public class SnappingDrake extends mage.sets.ravnica.SnappingDrake {
public SnappingDrake(UUID ownerId) {
super(ownerId);