游戏王残局简化版

Check-in [262ab836d0]
Login

Check-in [262ab836d0]

Overview
Comment:0.0.1787
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 262ab836d0a342a65e24163fe13676d395fd8213f583c5dc0c9db05eb38afac5
User & Date: 顽雨沉风 on 2023-07-19 04:03:08
Other Links: manifest | tags
Context
2023-07-19
04:04
0.0.1788 check-in: b6f1e1afe0 user: 顽雨沉风 tags: trunk
04:03
0.0.1787 check-in: 262ab836d0 user: 顽雨沉风 tags: trunk
02:38
0.0.1786 check-in: b99a3223f8 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [76e4968a2a] to [771369b3b2].

16
17
18
19
20
21
22


















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

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



















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







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







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
    
  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)
  
  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["规则"]
  
  if str["不洗牌"] == 0 then --{
    
    --}







<
<
<
<
<
<
<
<
<
|















|







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() --{
  









  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["规则"]
  
  if str["不洗牌"] == 0 then --{
    
    --}