游戏王残局简化版

Check-in [4e8f89ad97]
Login

Check-in [4e8f89ad97]

Overview
Comment:0.0.1227
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4e8f89ad97af3b3f28cd8d42bc403e6fd4697c89e2dd3c442f815d42f131ecb2
User & Date: 顽雨沉风 on 2023-07-11 15:54:27
Other Links: manifest | tags
Context
2023-07-11
15:58
0.0.1228 check-in: d5d0e03305 user: 顽雨沉风 tags: trunk
15:54
0.0.1227 check-in: 4e8f89ad97 user: 顽雨沉风 tags: trunk
14:59
0.0.1225 check-in: 75bd4dfc8f user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [772d7b1213] to [87e7c8a2f7].

146
147
148
149
150
151
152
153
154

155

156
157

158

159

160
161
162

163
164

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

effect_1:SetCode(EVENT_ADJUST)

effect_1:SetCountLimit(1)

function cache_1()
if str["已添加手卡"] == 1 then
return false

else
str["已添加手卡"] = 1

return true
end
end
effect_1:SetCondition(cache_1)

function cache_1(effect_event
, player_who_activate_the_effect)
str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
, Card.IsAbleToHand
, player_who_activate_the_effect
, LOCATION_DECK
, 0
, str_1
, str_1
, nil)

Duel.SendtoHand(str["玩家选定的卡"]
, nil
, REASON_RULE)
end
effect_1:SetOperation(cache_1)

Duel.RegisterEffect(effect_1
, 0)

fun["开局说明"]()
end

fun["禁格"] = function(str_1)
str["禁格"] = str_1

effect_1 = Effect.GlobalEffect()

effect_1:SetType(EFFECT_TYPE_FIELD)

effect_1:SetCode(EFFECT_USE_EXTRA_MZONE)

effect_1:SetValue(str_1)

Duel.RegisterEffect(effect_1,0)
end

fun["印卡"] = function(str_1, str_2, str_3)
str["印卡"] = 1
if str_3 then
else
str_3 = str_2
end







|
|
>
|
>
|
|
>
|
>
|
>
|
|
|
>
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
>
|
|
>
|
|

|
|
>
|
>
|
>
|
>
|
>
|
|







146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
    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
  + EFFECT_TYPE_CONTINUOUS)
  
  effect_1:SetCode(EVENT_ADJUST)
  
  effect_1:SetCountLimit(1)
  
  function cache_1() --{
    if str["已添加手卡"] == 1 then --{
      return false
      --}
    else --{
      str["已添加手卡"] = 1
      
      return true
      end --}
    end--}
  effect_1:SetCondition(cache_1)
  
  function cache_1(effect_event
  , player_who_activate_the_effect) --{
    str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
    , Card.IsAbleToHand
    , player_who_activate_the_effect
    , LOCATION_DECK
    , 0
    , str_1
    , str_1
    , nil)
    
    Duel.SendtoHand(str["玩家选定的卡"]
    , nil
    , REASON_RULE)
    end --}
  effect_1:SetOperation(cache_1)
  
  Duel.RegisterEffect(effect_1
  , 0)
  
  fun["开局说明"]()
  end --}

fun["禁格"] = function(str_1) --{
  str["禁格"] = str_1
  
  effect_1 = Effect.GlobalEffect()
  
  effect_1:SetType(EFFECT_TYPE_FIELD)
  
  effect_1:SetCode(EFFECT_USE_EXTRA_MZONE)
  
  effect_1:SetValue(str_1)
  
  Duel.RegisterEffect(effect_1,0)
  end --}

fun["印卡"] = function(str_1, str_2, str_3)
str["印卡"] = 1
if str_3 then
else
str_3 = str_2
end
270
271
272
273
274
275
276
277


Duel.SetLP(1,0)
end

effect_1:SetOperation(cache_1)

Duel.RegisterEffect(effect_1,0)
end











>
>
286
287
288
289
290
291
292
293
294
295
Duel.SetLP(1,0)
end

effect_1:SetOperation(cache_1)

Duel.RegisterEffect(effect_1,0)
end