代码修改提交
parent
2416934b0f
commit
cec1a85669
|
@ -216,7 +216,7 @@ public class CombatLogic {
|
|||
if(randomTimes>0){
|
||||
int bossGroupId = randomInvasionBoss(uid, adventureStateInfo.getPosition(),randomTimes,false);
|
||||
if(bossGroupId>0){
|
||||
remainTime =sAdventureConfig.getInvasionBossHolding();
|
||||
remainTime =sAdventureConfig.getInvasionBossHolding()-(now-adventureStateInfo.getFindBossTime());
|
||||
nextFlushTime+=remainTime+nextFlushTime;
|
||||
need=true;
|
||||
}
|
||||
|
@ -555,12 +555,11 @@ public class CombatLogic {
|
|||
bossGroupID = item[0];
|
||||
break;
|
||||
}
|
||||
totalWeight+=item[1];
|
||||
}
|
||||
}
|
||||
int findBossTime = adventureStateInfo.getFindBossTime();
|
||||
int now = (int)(System.currentTimeMillis()/1000);
|
||||
if(isGm || findBossTime == 0){
|
||||
if(isGm || bossGroupID == 0 || findBossTime == 0){
|
||||
|
||||
}else{
|
||||
int nextFindTime = findBossTime + sAdventureConfig.getInvasionBossRefresh() * (randomTimes - reallyRandomTimes);
|
||||
|
|
Loading…
Reference in New Issue