From 73dcc75efdfa209972cd2ee5bff414f2c8399288 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Mon, 3 Jun 2019 14:43:43 +0800 Subject: [PATCH] =?UTF-8?q?boss=E5=88=B7=E6=96=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ljsd/jieling/logic/fight/CombatLogic.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/CombatLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/CombatLogic.java index 26bd5d39f..f64b8d237 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/CombatLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/CombatLogic.java @@ -154,6 +154,8 @@ public class CombatLogic { if(now-adventureStateInfo.getStartTime()>nextFlushTime){ remainTime=0; needRandom = true; + }else{ + nextFlushTime = nextFlushTime - (now-adventureStateInfo.getStartTime()); } }else{ if(remainTime>0){ @@ -219,6 +221,8 @@ public class CombatLogic { if(StringUtil.isEmpty(adventureStateInfo.getBossId())){ if(now-adventureStateInfo.getStartTime()>nextFlushTime){ needRandom = true; + }else{ + nextFlushTime = nextFlushTime -(now-adventureStateInfo.getStartTime()); } }else{ if(remainTime>0){