Ver Fonte

快速战斗才进行查询

SCFC há 8 meses atrás
pai
commit
51b37f8da9
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      script/module/jjcnewladder/jjcNewLadderLogic.lua

+ 5 - 1
script/module/jjcnewladder/jjcNewLadderLogic.lua

@@ -655,7 +655,11 @@ function JjcNewLadderLogic_RefeshEnemyOK(tData)
     else
         JjcNewLadder_SetHumanEnemy(human, tEnemy)
         JjcNewLadder_SendEnemy(human)
-        JjcNewLadderLogic_Query(human)
+
+        local isQuick = human.db.combatQuick[CombatDefine.COMBAT_TYPE15] == 1 -- 是否自动战斗
+        if isQuick then
+            JjcNewLadderLogic_Query(human)
+        end
         print("[JjcNewLadderLogic_RefeshEnemyOK] 发送完成")
     end
 end