游戏王残局简化版

Check-in [ebd8dd9982]
Login

Check-in [ebd8dd9982]

Overview
Comment:0.0.1224
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ebd8dd998204526aa4ccd380435bed50cf132da65102ffae68c1833fd370546b
User & Date: 顽雨沉风 on 2023-07-11 14:55:57
Other Links: manifest | tags
Context
2023-07-11
14:59
0.0.1225 check-in: 75bd4dfc8f user: 顽雨沉风 tags: trunk
14:55
0.0.1224 check-in: ebd8dd9982 user: 顽雨沉风 tags: trunk
14:53
0.0.1223 check-in: 1fb42895ff user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [42d0163ae4] to [088dda8129].

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







+






+








+








fun["是否效果卡"] = function(card) --{
  cache_1 = Card.IsType(card, TYPE_SPELL)
  
  cache_2 = Card.IsType(card, TYPE_TRAP)
  
  cache_3 = Card.IsType(card, TYPE_EFFECT)
  
  if cache_1
  or cache_2
  or cache_3 then --{
    return true
    end --}
  cache_1 = Card.IsType(card, TYPE_PENDULUM)
  
  if cache_1 then --{
    cache_1 = Card.IsCode(card, 28363749)
    
    cache_2 = Card.IsCode(card, 19474136)
    
    cache_3 = Card.IsCode(card, 17390179)
    
    cache_4 = Card.IsCode(card, 83980492)
    
    if cache_1
    or cache_2
    or cache_3
    or cache_4 then --{
      --}
    else --{
      return true
108
109
110
111
112
113
114

115
116
117
118
119
120
121
122

123
124
125
126
127
128
129
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134







+








+







  
  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 --{
    --}
  else --{
    str["开局说明"] = str["开局说明"] .. "伪洗牌 "
    end --}
  if str["无BP"] == 0 then --{
    str["开局说明"] = str["开局说明"] .. "无BP "
138
139
140
141
142
143
144

145
146
147
148
149
150
151
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157







+







    str["开局说明"] = str["开局说明"] .. str["禁格"]
    str["开局说明"] = str["开局说明"] .. "格 "
    end --}
  if str["印卡"] then --{
    str["开局说明"] = str["开局说明"] .. "印卡 "
    end --}
  Debug.ShowHint(str["开局说明"])
  
  fun["通关邀请"]()
  end --}

fun["开局添加手卡"] = function(str_1)
str["开局添加手卡"] = str_1
effect_1 = Effect.GlobalEffect()
effect_1:SetType(EFFECT_TYPE_FIELD