mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
New Phyrexia
This commit is contained in:
parent
2aa0aaf3ea
commit
e22f4e5de8
8 changed files with 1384 additions and 1035 deletions
|
@ -25,7 +25,7 @@ public class ManaSymbols {
|
|||
|
||||
private static final String[] sets = {"DIS", "GPT", "RAV", "MRD",
|
||||
"10E", "HOP", "ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "M10", "M11",
|
||||
"MBS", "DDF", "DST", "EVE", "APC"};
|
||||
"MBS", "DDF", "DST", "EVE", "APC", "NPH"};
|
||||
|
||||
|
||||
static public void loadImages() {
|
||||
|
|
|
@ -14,7 +14,7 @@ import static org.mage.plugins.card.dl.DownloadJob.toFile;
|
|||
public class GathererSets implements Iterable<DownloadJob> {
|
||||
private static final File outDir = new File("plugins/images/sets");
|
||||
private static final String[] symbols = {"DIS", "DST", "GPT", "RAV", "MRD", "10E", "HOP", "EVE", "APC"};
|
||||
private static final String[] withMythics = {"ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "M10", "M11", "DDF", "MBS"};
|
||||
private static final String[] withMythics = {"ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "M10", "M11", "DDF", "MBS", "NPH"};
|
||||
private static final HashMap<String, String> symbolsReplacements = new HashMap<String, String>();
|
||||
|
||||
static {
|
||||
|
|
|
@ -46,7 +46,7 @@ public class MirrodinBesieged extends ExpansionSet {
|
|||
}
|
||||
|
||||
private MirrodinBesieged() {
|
||||
super("Mirrodin Besieged", "MBS", "seticon_mtgmbs", "mage.sets.mirrodinbesieged", new GregorianCalendar(2011, 02, 4).getTime(), SetType.EXPANSION);
|
||||
super("Mirrodin Besieged", "MBS", "seticon_mtgmbs", "mage.sets.mirrodinbesieged", new GregorianCalendar(2011, 1, 4).getTime(), SetType.EXPANSION);
|
||||
this.blockName = "Mirrodin Besieged";
|
||||
this.hasBoosters = true;
|
||||
this.numBoosterLands = 1;
|
||||
|
|
25
Mage.Sets/src/mage/sets/NewPhyrexia.java
Normal file
25
Mage.Sets/src/mage/sets/NewPhyrexia.java
Normal file
|
@ -0,0 +1,25 @@
|
|||
package mage.sets;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.cards.ExpansionSet;
|
||||
|
||||
import java.util.GregorianCalendar;
|
||||
|
||||
public class NewPhyrexia extends ExpansionSet {
|
||||
private static final NewPhyrexia fINSTANCE = new NewPhyrexia();
|
||||
|
||||
public static NewPhyrexia getInstance() {
|
||||
return fINSTANCE;
|
||||
}
|
||||
|
||||
private NewPhyrexia() {
|
||||
super("New Phyrexia", "NPH", "", "mage.sets.newphyrexia", new GregorianCalendar(2011, 4, 4).getTime(), Constants.SetType.EXPANSION);
|
||||
this.blockName = "Mirrodin Besieged";
|
||||
this.hasBoosters = true;
|
||||
this.numBoosterLands = 1;
|
||||
this.numBoosterCommon = 10;
|
||||
this.numBoosterUncommon = 3;
|
||||
this.numBoosterRare = 1;
|
||||
this.ratioBoosterMythic = 8;
|
||||
}
|
||||
}
|
|
@ -77,6 +77,7 @@ public class Sets extends HashMap<String, ExpansionSet> {
|
|||
this.addSet(Magic2011.getInstance());
|
||||
this.addSet(Mirrodin.getInstance());
|
||||
this.addSet(MirrodinBesieged.getInstance());
|
||||
this.addSet(NewPhyrexia.getInstance());
|
||||
this.addSet(Planechase.getInstance());
|
||||
this.addSet(RavnicaCityOfGuilds.getInstance());
|
||||
this.addSet(RiseOfTheEldrazi.getInstance());
|
||||
|
|
64
Mage.Sets/src/mage/sets/newphyrexia/LostLeonin.java
Normal file
64
Mage.Sets/src/mage/sets/newphyrexia/LostLeonin.java
Normal file
|
@ -0,0 +1,64 @@
|
|||
/*
|
||||
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are
|
||||
* permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation are those of the
|
||||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
|
||||
package mage.sets.newphyrexia;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.InfectAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Loki
|
||||
*/
|
||||
public class LostLeonin extends CardImpl<LostLeonin> {
|
||||
|
||||
public LostLeonin (UUID ownerId) {
|
||||
super(ownerId, 13, "Lost Leonin", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{W}");
|
||||
this.expansionSetCode = "NPH";
|
||||
this.subtype.add("Cat");
|
||||
this.subtype.add("Soldier");
|
||||
this.color.setWhite(true);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
this.addAbility(InfectAbility.getInstance());
|
||||
}
|
||||
|
||||
public LostLeonin (final LostLeonin card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LostLeonin copy() {
|
||||
return new LostLeonin(this);
|
||||
}
|
||||
|
||||
}
|
|
@ -125,6 +125,7 @@ $fulltoshort{'Scars of Mirrodin'} = 'SOM';
|
|||
$fulltoshort{'From the Vault: Relics'} = 'FVR';
|
||||
$fulltoshort{'Duel Decks: Elspeth vs. Tezzeret'} = 'DDF';
|
||||
$fulltoshort{'Mirrodin Besieged'} = 'MBS';
|
||||
$fulltoshort{'New Phyrexia'} = 'NPH';
|
||||
|
||||
my %wizardstous;
|
||||
$wizardstous{'6E'} = '6ED';
|
||||
|
@ -211,6 +212,7 @@ $wizardstous{'SOM'} = 'SOM';
|
|||
$wizardstous{'V10'} = 'FVR';
|
||||
$wizardstous{'DDF'} = 'DDF';
|
||||
$wizardstous{'MBS'} = 'MBS';
|
||||
$wizardstous{'NPH'} = 'NPH';
|
||||
|
||||
my %knownSets;
|
||||
$knownSets{'ARB'} = 'alarareborn';
|
||||
|
@ -233,6 +235,7 @@ $knownSets{'DIS'} = 'dissension';
|
|||
$knownSets{'MRD'} = 'mirrodin';
|
||||
$knownSets{'DDF'} = 'elspethvstezzeret';
|
||||
$knownSets{'MBS'} = 'mirrodinbesieged';
|
||||
$knownSets{'NPH'} = 'newphyrexia';
|
||||
|
||||
my %raritiesConversion;
|
||||
$raritiesConversion{'C'} = 'COMMON';
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue