* Added Morph to kexword.txt for card generation.

This commit is contained in:
LevelX2 2014-06-10 00:36:19 +02:00
parent 678b9acbf0
commit f2152b1119
2 changed files with 39 additions and 34 deletions

View file

@ -210,6 +210,10 @@ foreach my $setName (keys %{$cards{$cardName}}) {
} elsif ($keywords{$kw} eq 'card, manaString') { } elsif ($keywords{$kw} eq 'card, manaString') {
$ability =~ m/({.*})/g; $ability =~ m/({.*})/g;
$vars{'abilities'} .= "\n this.addAbility(new " . $kw . 'Ability(this, "' . fixCost($1) . '"));'; $vars{'abilities'} .= "\n this.addAbility(new " . $kw . 'Ability(this, "' . fixCost($1) . '"));';
} elsif ($keywords{$kw} eq 'card, cost') {
$ability =~ m/({.*})/g;
$vars{'abilities'} .= "\n this.addAbility(new " . $kw . 'Ability(this, new ManaCostsImpl("' . fixCost($1) . '")));';
$vars{'abilitiesImports'} .= "\nimport mage.abilities.costs.mana.ManaCostsImpl;";
} }

View file

@ -1,59 +1,60 @@
Annihilator|number| Annihilator|number|
Basic landcycling|cost|
Battle cry|new|
Bloodthirst|number| Bloodthirst|number|
Bushido|number| Bushido|number|
Dredge|number|
Evoke|card, manaString|
Entwine|manaString|
Soulshift|number|
Basic landcycling|cost|
Forestcycling|cost|
Islandcycling|cost|
Mountaincycling|cost|
Plainscycling|cost|
Swampcycling|cost|
Cycling|cost|
Cumulative upkeep|cost|
Level up|cost|
Miracle|cost|
Unearth|cost|
Battle cry|new|
Cascade|new| Cascade|new|
Exalted|new| Cumulative upkeep|cost|
Flanking|new| Cycling|cost|
Forestwalk|new|
Indestructible|instance|
Islandwalk|new|
Living weapon|new|
Mountainwalk|new|
Persist|new|
Plainswalk|new|
Rebound|new|
Storm|new|
Sunburst|new|
Swampwalk|new|
Totem armor|new|
Unblockable|new|
Undying|new|
Unleash|new|
Deathtouch|instance| Deathtouch|instance|
Defender|instance| Defender|instance|
Double Strike|instance| Double Strike|instance|
Dredge|number|
Entwine|manaString|
Evoke|card, manaString|
Exalted|new|
Extort|new| Extort|new|
Fear|instance| Fear|instance|
First strike|instance| First strike|instance|
Flanking|new|
Flash|instance| Flash|instance|
Flying|instance| Flying|instance|
Forestcycling|cost|
Forestwalk|new|
Haste|instance| Haste|instance|
Hexproof|instance| Hexproof|instance|
Indestructible|instance|
Infect|instance| Infect|instance|
Intimidate|instance| Intimidate|instance|
Islandcycling|cost|
Islandwalk|new|
Level up|cost|
Lifelink|instance| Lifelink|instance|
Living weapon|new|
Miracle|cost|
Mountaincycling|cost|
Mountainwalk|new|
Morph|card, cost|
Persist|new|
Phasing|instance| Phasing|instance|
Plainscycling|cost|
Plainswalk|new|
Reach|instance| Reach|instance|
Rebound|new|
Scavenge|cost| Scavenge|cost|
Shroud|instance| Shroud|instance|
Soulbond|instance| Soulbond|instance|
Soulshift|number|
Storm|new|
Sunburst|new|
Swampcycling|cost|
Swampwalk|new|
Totem armor|new|
Trample|instance| Trample|instance|
Tribute|number|
Unblockable|new|
Undying|new|
Unearth|cost|
Unleash|new|
Vigilance|instance| Vigilance|instance|
Wither|instance| Wither|instance|
Tribute|number|