added a automatic move forward if trigger step if playmode == test suite...this will still trigger the steps actual functions and test that are using trigger step will require an extra "next" test that are not using trigger step for anything will not need the extra "next"
This commit is contained in:
@@ -379,6 +379,12 @@ void GameObserver::Update(float dt)
|
||||
{
|
||||
mLayers->actionLayer()->Update(0);
|
||||
}
|
||||
|
||||
if(player->playMode
|
||||
== Player::MODE_TEST_SUITE && currentGamePhase == Constants::MTG_PHASE_COMBATBLOCKERS && TRIGGERS == combatStep)
|
||||
{
|
||||
nextCombatStep();
|
||||
}
|
||||
stateEffects();
|
||||
oldGamePhase = currentGamePhase;
|
||||
|
||||
@@ -401,6 +407,7 @@ void GameObserver::Update(float dt)
|
||||
== Constants::MTG_PHASE_COMBATDAMAGE))
|
||||
userRequestNextGamePhase();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//applies damage to creatures after updates
|
||||
|
||||
Reference in New Issue
Block a user