- Added crude possibility to search for the library (see Diabolic tutor)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-05-30 08:11:47 +00:00
parent b0eed5ea2e
commit b35195dddf
11 changed files with 68 additions and 105 deletions

View File

@@ -268,6 +268,7 @@ Player * MTGCardInstance::controller(){
if (game->players[i]->game->stack->hasCard(this)) return game->players[i];
if (game->players[i]->game->graveyard->hasCard(this)) return game->players[i];
if (game->players[i]->game->hand->hasCard(this)) return game->players[i];
if (game->players[i]->game->library->hasCard(this)) return game->players[i];
}
return lastController;
}