mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
manadetecton fixes
This commit is contained in:
parent
d1fc649d42
commit
33bc20af68
2 changed files with 11 additions and 10 deletions
|
@ -42,13 +42,12 @@ import mage.cards.CardImpl;
|
||||||
public class [=$classname=] extends CardImpl<[=$classname=]> {
|
public class [=$classname=] extends CardImpl<[=$classname=]> {
|
||||||
|
|
||||||
public [=$classname=] (UUID ownerId) {
|
public [=$classname=] (UUID ownerId) {
|
||||||
super(ownerId, [=$collector=], "[=$name=]", Rarity.[=$rarity=], new CardType[]{}, "[=$manacost=]");
|
super(ownerId, [=$collector=], "[=$name=]", Rarity.[=$rarity=], new CardType[]{[=$type=]}, "[=$manacost=]");
|
||||||
this.expansionSetCode = "[=$setcode=]";
|
this.expansionSetCode = "[=$setcode=]";
|
||||||
this.subtype.add("");[= $colors=]
|
this.subtype.add("");[= $colors=]
|
||||||
[=if (defined($power)) {
|
[=if (defined($power)) {
|
||||||
$OUT .= "this.power = new MageInt($power);";
|
$OUT .= "this.power = new MageInt($power);\n";
|
||||||
}=]
|
}=][=if (defined($toughness)) {
|
||||||
[=if (defined($toughness)) {
|
|
||||||
$OUT .= " this.toughness = new MageInt($toughness);";
|
$OUT .= " this.toughness = new MageInt($toughness);";
|
||||||
}=]
|
}=]
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,6 +217,8 @@ $knownSets{'10E'} = 'tenth';
|
||||||
$knownSets{'WWK'} = 'worldwake';
|
$knownSets{'WWK'} = 'worldwake';
|
||||||
$knownSets{'ZEN'} = 'zendikar';
|
$knownSets{'ZEN'} = 'zendikar';
|
||||||
$knownSets{'SOM'} = 'scarsofmirrodin';
|
$knownSets{'SOM'} = 'scarsofmirrodin';
|
||||||
|
$knownSets{'GPT'} = 'guildpact';
|
||||||
|
$knownSets{'DIS'} = 'dissension';
|
||||||
|
|
||||||
my %raritiesConversion;
|
my %raritiesConversion;
|
||||||
$raritiesConversion{'C'} = 'COMMON';
|
$raritiesConversion{'C'} = 'COMMON';
|
||||||
|
@ -238,11 +240,11 @@ $mana{'Black or Red'} = 'B\\\\R';
|
||||||
$mana{'Red or Green'} = 'R\\\\G';
|
$mana{'Red or Green'} = 'R\\\\G';
|
||||||
|
|
||||||
my %manatocolor;
|
my %manatocolor;
|
||||||
$manatocolor{'Black'} = " creature.color.setBlack(true);";
|
$manatocolor{'Black'} = " this.color.setBlack(true);";
|
||||||
$manatocolor{'Blue'} = " creature.color.setBlue(true);";
|
$manatocolor{'Blue'} = " this.color.setBlue(true);";
|
||||||
$manatocolor{'Green'} = " creature.color.setGreen(true);";
|
$manatocolor{'Green'} = " this.color.setGreen(true);";
|
||||||
$manatocolor{'Red'} = " creature.color.setRed(true);";
|
$manatocolor{'Red'} = " this.color.setRed(true);";
|
||||||
$manatocolor{'White'} = " creature.color.setWhite(true);";
|
$manatocolor{'White'} = " this.color.setWhite(true);";
|
||||||
|
|
||||||
my %normalid;
|
my %normalid;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue