Erwan
- Fix issue 102 (Rampage not working correctly)
This commit is contained in:
@@ -123,6 +123,7 @@ void GuiCombat::removeOne(DefenserDamaged* blocker, CombatStep step)
|
||||
}
|
||||
|
||||
bool GuiCombat::clickOK(){
|
||||
active = activeAtk = NULL;
|
||||
cursor_pos = NONE;
|
||||
switch (step)
|
||||
{
|
||||
|
||||
@@ -118,7 +118,8 @@ int TestSuiteAI::Act(float dt){
|
||||
}
|
||||
else if (action.compare("next")==0){
|
||||
GuiCombat * gc = g->mLayers->combatLayer();
|
||||
if (ORDER == g->combatStep || DAMAGE == g->combatStep) gc->clickOK();
|
||||
if (ORDER == g->combatStep || DAMAGE == g->combatStep)
|
||||
gc->clickOK();
|
||||
else g->userRequestNextGamePhase();
|
||||
}
|
||||
else if (action.compare("yes")==0)
|
||||
|
||||
Reference in New Issue
Block a user