-Fixed a bug with */* creatures that don't die when they come into play as 0/0
-Fixed a bug with hymn of rebirth introduced in rev 245
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-04-04 15:09:31 +00:00
parent 6582a1972a
commit 89caaaadb4
5 changed files with 24 additions and 2 deletions

View File

@@ -225,6 +225,9 @@ void GameObserver::Update(float dt){
//applies damage to creatures after updates
//Players life test
void GameObserver::stateEffects(){
if (mLayers->stackLayer()->count(0,NOT_RESOLVED) != 0) return;
if (mLayers->actionLayer()->menuObject) return;
if (targetChooser || mLayers->actionLayer()->isWaitingForAnswer()) return;
for (int i =0; i < 2; i++){
MTGGameZone * zone = players[i]->game->inPlay;
for (int j = zone->nb_cards-1 ; j>=0; j--){