diff --git a/projects/mtg/bin/Res/player/momir.txt b/projects/mtg/bin/Res/player/momir.txt deleted file mode 100644 index 3b0c041f0..000000000 --- a/projects/mtg/bin/Res/player/momir.txt +++ /dev/null @@ -1,5 +0,0 @@ -Swamp *12 -Island *12 -Plains *12 -Mountain *12 -Forest *12 \ No newline at end of file diff --git a/projects/mtg/src/GameStateDuel.cpp b/projects/mtg/src/GameStateDuel.cpp index c7135c4fe..6258646df 100644 --- a/projects/mtg/src/GameStateDuel.cpp +++ b/projects/mtg/src/GameStateDuel.cpp @@ -143,7 +143,13 @@ void GameStateDuel::loadPlayerRandom(int playerId, int isAI, int mode){ void GameStateDuel::loadPlayerMomir(int playerId, int isAI){ string deckFileSmall = "momir"; char empty[] = ""; - MTGDeck * tempDeck = NEW MTGDeck(options.profileFile("momir.txt","",true).c_str(), mParent->collection); + MTGDeck * tempDeck = NEW MTGDeck(mParent->collection); //Autogenerate a momir deck. Leave the "momir.txt" bits below for stats. + tempDeck->addRandomCards(12, 0,0,Constants::RARITY_L,"Forest"); + tempDeck->addRandomCards(12, 0,0,Constants::RARITY_L,"Plains"); + tempDeck->addRandomCards(12, 0,0,Constants::RARITY_L,"Swamp"); + tempDeck->addRandomCards(12, 0,0,Constants::RARITY_L,"Mountain"); + tempDeck->addRandomCards(12, 0,0,Constants::RARITY_L,"Island"); + deck[playerId] = NEW MTGPlayerCards(mParent->collection, tempDeck); if (!isAI) // Human Player mPlayers[playerId] = NEW HumanPlayer(deck[playerId], options.profileFile("momir.txt","",true).c_str(), deckFileSmall);