added Prowl support.

example usage:
other={1}{B} name(Prowl)
otherrestriction=prowl
This commit is contained in:
anthonycalosa@gmail.com
2013-05-20 02:59:18 +00:00
parent a055044281
commit f0de00086b
5 changed files with 47 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ void GameObserver::nextGamePhase()
cleanupPhase();
currentPlayer->damageCount = 0;
currentPlayer->drawCounter = 0;
currentPlayer->prowledTypes.clear();
currentPlayer->opponent()->damageCount = 0; //added to clear odcount
currentPlayer->preventable = 0;
mLayers->actionLayer()->cleanGarbage(); //clean abilities history for this turn;
@@ -230,6 +231,7 @@ void GameObserver::nextGamePhase()
}
mLayers->actionLayer()->Update(0);
currentPlayer->drawCounter = 0;
currentPlayer->prowledTypes.clear();
currentPlayer->lifeLostThisTurn = 0;
currentPlayer->opponent()->lifeLostThisTurn = 0;
currentPlayer->doesntEmpty->remove(currentPlayer->doesntEmpty);