recoded cascade, the logic was incorrect. also the ability was coded incorrectly. ALL the cards get exiled, then placed on the bottom, the card that cost less is also exiled then MAY be cast otherwise its placed in the library bottom with the rest.

I also now tell AI to ALWAYS use cast card if available. as the effects are always better.
This commit is contained in:
zethfoxster
2016-07-13 23:57:30 -04:00
parent 5dc72e88fe
commit 01fd8fa406
3 changed files with 74 additions and 53 deletions

View File

@@ -104,6 +104,9 @@ int OrderedAIAction::getEfficiency()
{
target = a->source;
}
if (AACastCard * CC = dynamic_cast<AACastCard*> (a))
return 99;
switch (a->aType)
{