- fixed a few cards
- removed extra phasebar
- doesnotuntap and protection from... will now work as auras
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-08-10 13:22:22 +00:00
parent f3a25b3f3d
commit 258e08786d
8 changed files with 24 additions and 100 deletions
+4 -8
View File
@@ -369,14 +369,10 @@ MTGCardInstance * MTGInPlay::getNextAttacker(MTGCardInstance * previous){
void MTGInPlay::untapAll(){
int i;
for (i = 0; i < nb_cards; i ++){
cards[i]->setUntapping();
if (cards[i]->getUntapBlockers()->isEmpty()){
#if defined (WIN32) || defined (LINUX)
char buf[4096];
sprintf(buf, "Can untap %s\n", cards[i]->getName());
OutputDebugString(buf);
#endif
cards[i]->attemptUntap();
MTGCardInstance * card = cards[i];
card->setUntapping();
if (!card->basicAbilities[Constants::DOESNOTUNTAP] && card->getUntapBlockers()->isEmpty()){
card->attemptUntap();
}
}
}