游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [bf84a6cc83]:

To Artifact [727b5b6b2a]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local s = {}
-- 启
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
function s.历排(u1_0, u1, u2, u3, u4)
  local k1
  --~ 和
  k1 = u1_0[1] or 0
  for u5 = 2, #u1_0 do
    k1 = u1(k1, u2(u1_0[u5], u3, u4))
    end
  return k1
  end
return s







|

|

|

|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local s = {}
-- 启
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
function s.历排(u1_0, u1, u2, u3, u4)
  local h1
  --~ 和
  h1 = u1_0[1] or 0
  for u5 = 2, #u1_0 do
    h1 = u1(h1, u2(u1_0[u5], u3, u4))
    end
  return h1
  end
return s