forked from External/mage
Remove use of card classes for duplicate cards. Remove set related information from being tied to card classes.
This commit is contained in:
parent
3c2189e7a1
commit
e8230946af
32 changed files with 356 additions and 155 deletions
|
|
@ -29,6 +29,8 @@
|
|||
package mage.cards.basiclands;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.abilities.mana.ManaAbility;
|
||||
|
|
@ -40,12 +42,8 @@ import mage.cards.CardImpl;
|
|||
*/
|
||||
public abstract class BasicLand extends CardImpl {
|
||||
|
||||
public BasicLand(UUID ownerId, int cardNumber, String name, ManaAbility mana) {
|
||||
this(ownerId, String.valueOf(cardNumber), name, mana);
|
||||
}
|
||||
|
||||
public BasicLand(UUID ownerId, String cardNumber, String name, ManaAbility mana) {
|
||||
super(ownerId, cardNumber, name, Rarity.LAND, new CardType[]{CardType.LAND}, null);
|
||||
public BasicLand(UUID ownerId, CardSetInfo setInfo, ManaAbility mana) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, null);
|
||||
this.supertype.add("Basic");
|
||||
this.subtype.add(name);
|
||||
this.addAbility(mana);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue