No more cards.txt - now a card-per-file under /res/cardsfolder/

This commit is contained in:
jendave
2011-08-06 06:16:16 +00:00
parent 5bc8d5bb6a
commit 658b8a0381
4 changed files with 97 additions and 57 deletions

View File

@@ -86,7 +86,8 @@ public class CardFactory implements NewConstants {
private void readCards(File file) {
map.clear();
ReadCard read = new ReadCard(ForgeProps.getFile(CARDS));
//ReadCard read = new ReadCard(ForgeProps.getFile(CARDS));
ReadCard read = new ReadCard(ForgeProps.getFile(CARDSFOLDER));
try {
read.run();
// javax.swing.SwingUtilities.invokeAndWait(read);
@@ -2946,6 +2947,7 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(evDestroyTgt);
}
} // etbDestoryTgt
// Generic destroy all card
if(hasKeyword(card, "spDestroyAll") != -1) {