游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [76e4968a2a]:

To Artifact [771369b3b2]:


16
17
18
19
20
21
22


















23
24
25
26
27
28
29
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







str["二解弹窗"] = "QB:「你居然二解了,请加群告诉我怎么二解。」"
str["原解弹窗"] = "残局群181175613"

str["大师3"] = "大师3 "
str["新大师"] = "新大师 "
str["大师2020"] = "大师2020 "

str["不洗牌"] = false
str["无BP"] = false

cache_1 = 0

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

str["除卡组与额外卡组以外的区域"] = cache_1

cache_1 = cache_1 + LOCATION_DECK
cache_1 = cache_1 + LOCATION_EXTRA

str["所有区域"] = cache_1

fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin

Debug.ReloadFieldBegin = function(str_1, str_2) --{
  
  str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
  
  str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
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
192
193
194
195
196
197

198
199
200
201
202
203
204
183
184
185
186
187
188
189










190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205

206
207
208
209
210
211
212
213







-
-
-
-
-
-
-
-
-
-
+















-
+







    
  return false
  
  end --}
  
fun["开局说明"] = 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
  
  str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,cache_1,cache_1,nil)
  str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,str["所有区域"],str["所有区域"],nil)
  
  cache_1 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
  
  for k in aux.Next(cache_1) do --{
    
    cache_1 = fun["是否效果卡"](k)
    
    if cache_1 then --{
      
      str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
      
      end --}
      
    end --}
    
  str["开局说明"] =""
  str["开局说明"] = ""
  str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]
  str["开局说明"] = str["开局说明"] .. "卡 "
  str["开局说明"] = str["开局说明"] .. str["规则"]
  
  if str["不洗牌"] == 0 then --{
    
    --}