taught ai basic extracost targeting...by basic i mean its not going to choose a token creature over its 20/20 flyer for the target of an extracost...it will target whatever it can for the cost. but atleast it can handle extra cost which are targeted now, rather then ignore them completely.

also removed a peice of aiplayer::render, that was moved into aiplayerbaka.....
This commit is contained in:
omegablast2002@yahoo.com
2011-09-24 18:42:37 +00:00
parent 404137b144
commit 96cbe18be0
4 changed files with 51 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ int ExtraCost::setSource(MTGCardInstance * _source)
tc->source = _source;
// this keeps the target chooser from being unable to select a creature with shroud/protections.
tc->targetter = NULL;
tc->Owner = source->controller();
}
else
{