Bug fixes, Changes to Random Commander
You can now get non-basic lands in random commander, adds more diversity to the mode. Bug fixes to "Choose one or both" cards Helm of Kaldra AI just keeps activating the ability Katsumasa, the Animator Yidris, Maelstrom Wielder Prismatic Omen Retreat to Hagra Condescend Unnatural Aggression Second Breakfast Kitesail Skirmisher Ezuri's Predation Rohgahh, Kher Keep Overlord Blight-Breath Catoblepas
This commit is contained in:
@@ -2104,7 +2104,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
||||
observer->addObserver(NEW MTGTempFlashBackRule(observer, -1));
|
||||
return NULL;
|
||||
}
|
||||
//alternative cost type flashback
|
||||
//alternative cost type bestow
|
||||
found = s.find("bestowrule");
|
||||
if (found != string::npos)
|
||||
{
|
||||
|
||||
@@ -459,7 +459,7 @@ Player * Rules::loadPlayerRandomCommander(GameObserver* observer, int isAI)
|
||||
numLands /= colors.size() - 1;
|
||||
for (unsigned int i = 1; i < colors.size(); i++)
|
||||
{
|
||||
tempDeck->addRandomCards(numLands, 0, 0, Constants::RARITY_L, lands[colors.data()[i]].c_str());
|
||||
tempDeck->addRandomCards(numLands, 0, 0, -1, lands[colors.data()[i]].c_str());
|
||||
}
|
||||
}
|
||||
else { tempDeck->addRandomCards(numLands, 0, 0, Constants::RARITY_L); }
|
||||
|
||||
Reference in New Issue
Block a user