fixed a bug with sunburst and sunburst cards which contained x.
This commit is contained in:
@@ -1411,7 +1411,7 @@ int AIPlayerBaka::computeActions()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (nextCardToPlay->sunburst < nextCardToPlay->getManaCost()->getConvertedCost())
|
||||
if (nextCardToPlay->sunburst < nextCardToPlay->getManaCost()->getConvertedCost() || nextCardToPlay->getManaCost()->hasX())
|
||||
{
|
||||
nextCardToPlay->getManaCost()->add(i, 1);
|
||||
nextCardToPlay->getManaCost()->remove(0, 1);
|
||||
|
||||
Reference in New Issue
Block a user