游戏王残局简化版

Check-in [ff0aefc8cb]
Login

Check-in [ff0aefc8cb]

Overview
Comment:0.0.419
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ff0aefc8cbf6a2c7a8c76c04d34b5e21bb91a8533f9d0d3a4a22d9c318cfb1f0
User & Date: 顽雨沉风 on 2023-06-30 00:39:15.477
Other Links: manifest | tags
Context
2023-06-30
00:39
0.0.420 check-in: 647c058939 user: 顽雨沉风 tags: trunk
00:39
0.0.419 check-in: ff0aefc8cb user: 顽雨沉风 tags: trunk
00:34
0.0.418 check-in: 8eb57101e2 user: 顽雨沉风 tags: trunk
Changes
47
48
49
50
51
52
53











54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  or cache_3 then
    return true
    end
  return false
  end

_G["开局说明"] = function()











  str["我方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_DECK,0,nil)
  str["我方墓地"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil)
  str["我方怪兽区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,6,LOCATION_MZONE,nil)
--~   str["我方手卡"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_HAND,0,nil)
  str["我方灵摆区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_PZONE,0,nil)
  str["我方除外区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_REMOVED,0,nil)
  str["我方额外卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_EXTRA,0,nil)
  str["我方魔陷区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_SZONE,0,nil)
  str["我方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_OVERLAY,0,nil)

  str["对方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_DECK,nil)
  str["对方墓地"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_GRAVE,nil)
--~   str["对方怪兽区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_MZONE,nil)
  str["对方手卡"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_HAND,nil)
  str["对方灵摆区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_PZONE,nil)
  str["对方除外区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_REMOVED,nil)
  str["对方额外卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_EXTRA,nil)
  str["对方魔陷区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_SZONE,nil)
  str["对方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_OVERLAY,nil)

  str["这个残局的效果卡数量"] = 0

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方墓地"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方怪兽区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方墓地"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

  str["开局说明"] = "效果卡:"
  str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]

  Debug.ShowHint(str["开局说明"])
  Debug.ShowHint(str["我方怪兽区"])
  end









>
>
>
>
>
>
>
>
>
>
>
|
|
|

|
|
|
|
|

|
|

|
|
|
|
|
|

|

|
|
|

|
|
|
|
|

|
|

|
|
|
|
|
|




|
|



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
  or cache_3 then
    return true
    end
  return false
  end

_G["开局说明"] = function()
  cache_1 = 0
  cache_1 = cache_1 + LOCATION_DECK
  cache_1 = cache_1 + LOCATION_HAND
  cache_1 = cache_1 + LOCATION_MZONE
  cache_1 = cache_1 + LOCATION_SZONE
  cache_1 = cache_1 + LOCATION_GRAVE
  cache_1 = cache_1 + LOCATION_REMOVED
  cache_1 = cache_1 + LOCATION_EXTRA
  cache_1 = cache_1 + LOCATION_OVERLAY

  str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,cache_1,cache_1,nil)
--~   str["我方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_DECK,0,nil)
--~   str["我方墓地"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil)
--~   str["我方怪兽区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,6,LOCATION_MZONE,nil)
--~   str["我方手卡"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_HAND,0,nil)
--~   str["我方灵摆区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_PZONE,0,nil)
--~   str["我方除外区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_REMOVED,0,nil)
--~   str["我方额外卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_EXTRA,0,nil)
--~   str["我方魔陷区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_SZONE,0,nil)
--~   str["我方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_OVERLAY,0,nil)

--~   str["对方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_DECK,nil)
--~   str["对方墓地"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_GRAVE,nil)
--~   str["对方怪兽区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_MZONE,nil)
--~   str["对方手卡"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_HAND,nil)
--~   str["对方灵摆区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_PZONE,nil)
--~   str["对方除外区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_REMOVED,nil)
--~   str["对方额外卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_EXTRA,nil)
--~   str["对方魔陷区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_SZONE,nil)
--~   str["对方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_OVERLAY,nil)

--~   str["这个残局的效果卡数量"] = 0

--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方卡组"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方墓地"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方怪兽区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方手卡"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方灵摆区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方除外区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方额外卡组"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方魔陷区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]

--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方卡组"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方墓地"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方怪兽区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方手卡"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

  str["开局说明"] = "效果卡:"
  str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]

--~   Debug.ShowHint(str["开局说明"])
--~   Debug.ShowHint(str["我方怪兽区"])
  end