游戏王残局简化版

Check-in [6c3013db57]
Login

Check-in [6c3013db57]

Overview
Comment:0.0.382
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6c3013db57f5662af88f7295ecd575773e15ac74d043f2b8b50cd1359353a212
User & Date: 顽雨沉风 on 2023-06-29 22:55:26
Other Links: manifest | tags
Context
2023-06-29
22:57
0.0.383 check-in: d2a906c720 user: 顽雨沉风 tags: trunk
22:55
0.0.382 check-in: 6c3013db57 user: 顽雨沉风 tags: trunk
22:53
0.0.381 check-in: ca0283ed56 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [896be6619d] to [cfc6c109d6].

65
66
67
68
69
70
71






72
73
74
75
76
77
78
  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)







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

--~   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)







>
>
>
>
>
>







65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
  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)


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

--~   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)
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
--~   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["对方超量素材"]

  Debug.ShowHint(str["这个残局的效果卡数量"])
  end









|
|

|
|

|



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
--~   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["对方超量素材"]

--~   Debug.ShowHint(str["这个残局的效果卡数量"])
  end