Pārlūkot izejas kodu

站令红点更新

mafei 1 gadu atpakaļ
vecāks
revīzija
b8a95bd2a8

+ 12 - 0
script/module/shop/WarOrder.lua

@@ -138,6 +138,18 @@ end
 ------------------------------------------------------
 -- 对外暴露接口
 ------------------------------------------------------
+
+function isDot(human)
+    local isDot = false
+    for orderType in pairs(orderNameMap) do 
+        if checkRed(human,orderType) == 1 then 
+            isDot = true
+            break
+        end
+    end
+    return isDot
+end
+
 function warOrderInfo(human,orderType)
     local orderName = orderNameMap[orderType]
     local cfg = OrderExcel[orderName]

+ 1 - 2
script/module/zhuanpan/ZhuanpanLogic.lua

@@ -613,8 +613,7 @@ function getLuck(human, msg)
             end 	
 	    end
 	end
-	
-	
+
 	query(human, msg.type)
 end