游戏王残局简化版

Check-in [f93cdd3242]
Login

Check-in [f93cdd3242]

Overview
Comment:0.0.380
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f93cdd32428e509a1a563f4bb9b24b63786869a7712b381163419745480a8f25
User & Date: 顽雨沉风 on 2023-06-29 22:53:15
Other Links: manifest | tags
Context
2023-06-29
22:53
0.0.381 check-in: ca0283ed56 user: 顽雨沉风 tags: trunk
22:53
0.0.380 check-in: f93cdd3242 user: 顽雨沉风 tags: trunk
22:50
0.0.379 check-in: 75a5aae6f2 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [dea7b97fd7] to [ef49af8779].

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


















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








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


|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|







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

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