parenthesis...
This commit is contained in:
@@ -1090,7 +1090,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
|||||||
if (!target)
|
if (!target)
|
||||||
target = card;
|
target = card;
|
||||||
//pay and castcard?
|
//pay and castcard?
|
||||||
if(s.find("pay(") != string::npos || s.find("pay[[") != string::npos && s.find("castcard(restricted") != string::npos)
|
if(s.find("castcard(restricted") != string::npos && (s.find("pay(") != string::npos || s.find("pay[[") != string::npos))
|
||||||
asAlternate = true;
|
asAlternate = true;
|
||||||
//MTG Specific rules
|
//MTG Specific rules
|
||||||
//adds the bonus credit system
|
//adds the bonus credit system
|
||||||
|
|||||||
Reference in New Issue
Block a user