热更新
parent
e6c21d947e
commit
5be771fb3b
|
@ -1162,6 +1162,12 @@ public class ChampionshipLogic {
|
|||
int duration = sChampionshipSetting.getGuessTime() + sChampionshipSetting.getBattleTime(); //fix 只有竞猜和战斗
|
||||
int progressState = getProgress((int) ((now - startTime) / 1000 % duration + 1)); //阶段
|
||||
long round = (now - startTime) / 1000 / duration + 1;//轮数
|
||||
if(round>30){
|
||||
progress=-2;
|
||||
//sendAllProgressUpdate();
|
||||
return;
|
||||
}
|
||||
|
||||
roundTimes = (int) round;
|
||||
long diff = round - (sChampionshipSetting.getTrialsGroup() - 1);
|
||||
int progressTmp;
|
||||
|
|
Loading…
Reference in New Issue