first moved the def of handsize for a game into the rules.txt as discussed with wololo...
this update requires you to update your rules folder files!!! 2nd added 2 new vanguard game modes. Stone Hewer Basic - when ever a creature enters play, a random equipment with a converted mana cost less than or equal to that creature is put into play and attached to it. this mode is unlockable, requirement = win a match where 10 or more equipment were in the battlefeild at the moment you won. Hermit Druid basic- in this game mode, during each of the players upkeeps, a random land card from their deck is placed into the battlefield, these do not count against your 1 land per turn limit. to unlock this, win any match with less then 10 lands.
This commit is contained in:
@@ -927,13 +927,17 @@ int AIPlayer::chooseTarget(TargetChooser * _tc, Player * forceTarget,MTGCardInst
|
||||
if (!tc)
|
||||
return 0;
|
||||
|
||||
if (tc->source->controller() != this)
|
||||
{
|
||||
DebugTrace("AIPLAYER: Error, was asked to chose targets but I don't own the source of the targetController\n");
|
||||
return 0;
|
||||
}
|
||||
//Make sure we own the decision to choose the targets
|
||||
assert(tc->source->controller() == this);
|
||||
//Make sure we own the decision to choose the targets
|
||||
assert(tc->source->controller() == this);
|
||||
if (tc->source->controller() != this)
|
||||
{
|
||||
gameObs->currentActionPlayer = tc->source->controller();
|
||||
//this is a hack, but if we hit this condition we are locked in a infinate loop
|
||||
//so lets give the tc to its owner
|
||||
//todo:find the root cause of this.
|
||||
DebugTrace("AIPLAYER: Error, was asked to chose targets but I don't own the source of the targetController\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
tc->initTargets(); //cleanup the targetchooser just in case.
|
||||
if (!(gameObs->currentlyActing() == this))
|
||||
|
||||
Reference in New Issue
Block a user