Minor Fix

This commit is contained in:
Anthony Calosa
2016-06-18 09:11:57 +08:00
parent 0167cf052d
commit 6bc7de3370
2 changed files with 14 additions and 3 deletions

View File

@@ -584,6 +584,11 @@ private:
{
intValue = countManaProducedby(Constants::MTG_COLOR_WHITE, target, target->controller()->opponent());
}
else if (s == "olandc")
{
intValue = countManaProducedby(Constants::MTG_COLOR_ARTIFACT, target, target->controller()->opponent()) +
countManaProducedby(Constants::MTG_COLOR_WASTE, target, target->controller()->opponent());
}
else if (s == "plandg")
{
intValue = countManaProducedby(Constants::MTG_COLOR_GREEN, target, target->controller());
@@ -604,6 +609,11 @@ private:
{
intValue = countManaProducedby(Constants::MTG_COLOR_WHITE, target, target->controller());
}
else if (s == "plandc")
{
intValue = countManaProducedby(Constants::MTG_COLOR_ARTIFACT, target, target->controller()) +
countManaProducedby(Constants::MTG_COLOR_WASTE, target, target->controller());
}
else if (s == "cantargetmycre")// can target my creature
{
intValue = countCanTargetby("creature", card, card->controller());