游戏王残局简化版

Check-in [d0a72ea395]
Login

Check-in [d0a72ea395]

Overview
Comment:0.0.401
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d0a72ea3959b7acb2222afb7c3e32a463ad937d6dad4dfbf976e482790e59646
User & Date: 顽雨沉风 on 2023-06-29 23:31:00
Other Links: manifest | tags
Context
2023-06-29
23:33
0.0.402 check-in: c1c4bd1ce9 user: 顽雨沉风 tags: trunk
23:31
0.0.401 check-in: d0a72ea395 user: 顽雨沉风 tags: trunk
23:29
0.0.400 check-in: 4f50d4f4dc user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [8b0540daa7] to [3fb808796b].

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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]
--~   Debug.ShowHint(Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil))

--~   local cache_1 = {}

--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_DECK,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_GRAVE,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_MZONE,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_HAND,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_PZONE,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_REMOVED,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_EXTRA,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_SZONE,0)
--~   cache_1:insert(cache_2)

--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_DECK)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_GRAVE)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_MZONE)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_HAND)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_PZONE)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_REMOVED)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_EXTRA)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,0,LOCATION_SZONE)
--~   cache_1:insert(cache_2)

--~   cache_2 = Duel.GetOverlayGroup(0,LOCATION_MZONE,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetOverlayGroup(0,0,LOCATION_SZONE)
--~   cache_1:insert(cache_2)

--~   for i=1, #cache_1 do
--~     end




--~   str["我方卡组"] = Duel.GetFieldGroupCount(0,LOCATION_DECK,0)
--~   str["我方墓地"] = Duel.GetFieldGroupCount(0,LOCATION_GRAVE,0)
--~   str["我方怪兽区"] = Duel.GetFieldGroupCount(0,LOCATION_MZONE,0)
--~   str["我方手卡"] = Duel.GetFieldGroupCount(0,LOCATION_HAND,0)
--~   str["我方灵摆区"] = Duel.GetFieldGroupCount(0,LOCATION_PZONE,0)
--~   str["我方除外区"] = Duel.GetFieldGroupCount(0,LOCATION_REMOVED,0)
--~   str["我方额外卡组"] = Duel.GetFieldGroupCount(0,LOCATION_EXTRA,0)
--~   str["我方魔陷区"] = Duel.GetFieldGroupCount(0,LOCATION_SZONE,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["对方卡组"] = Duel.GetFieldGroupCount(0,0,LOCATION_DECK)
--~   str["对方墓地"] = Duel.GetFieldGroupCount(0,0,LOCATION_GRAVE)
--~   str["对方怪兽区"] = Duel.GetFieldGroupCount(0,0,LOCATION_MZONE)
--~   str["对方手卡"] = Duel.GetFieldGroupCount(0,0,LOCATION_HAND)
--~   str["对方灵摆区"] = Duel.GetFieldGroupCount(0,0,LOCATION_PZONE)
--~   str["对方除外区"] = Duel.GetFieldGroupCount(0,0,LOCATION_REMOVED)
--~   str["对方额外卡组"] = Duel.GetFieldGroupCount(0,0,LOCATION_EXTRA)
--~   str["对方魔陷区"] = Duel.GetFieldGroupCount(0,0,LOCATION_SZONE)

--~   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["我方超量素材"] = Duel.GetOverlayCount(0, LOCATION_MZONE, 0)
--~   str["对方超量素材"] = Duel.GetOverlayCount(0, 0, LOCATION_MZONE)

--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

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

  Debug.ShowHint(str["开局说明"])
  end









<



<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<



<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







87
88
89
90
91
92
93

94
95
96







































97
98
99













































100
101
102
103
104
105
106
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]


--~   local cache_1 = {}








































--~   for i=1, #cache_1 do
--~     end














































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

  Debug.ShowHint(str["开局说明"])
  end