游戏王残局简化版

Check-in [718e1ae0ea]
Login

Check-in [718e1ae0ea]

Overview
Comment:0.0.1175
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 718e1ae0ea74ec5d52ea14d682e7d261f9ed8e0536d62afdd6325e893d0007b1
User & Date: 顽雨沉风 on 2023-07-11 06:48:04
Other Links: manifest | tags
Context
2023-07-11
06:48
0.0.1176 check-in: 32604c15ca user: 顽雨沉风 tags: trunk
06:48
0.0.1175 check-in: 718e1ae0ea user: 顽雨沉风 tags: trunk
06:47
0.0.1174 check-in: a57ac3822c user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [dd79686c71] to [7bc74f5d08].

205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
        end
      end
    end
  effect_1:SetOperation(print_hand)
  str_1:RegisterEffect(effect_1)
  end
  
fun["全部回到卡组"] = function
  Debug.ShowHint("胜利条件:让对方的卡回到卡组。")
  
  effect_1 = Effect.GlobalEffect()
  
  effect_1:SetType(EFFECT_TYPE_FIELD
  + EFFECT_TYPE_CONTINUOUS)
  
  effect_1:SetCode(EVENT_ADJUST)
  
  cache_1 = function
    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
    
    cache_1 = Duel.GetFieldGroupCount(1,cache_1,0)
    
    if cache_1 == 0 then
      return true
    else
      return false
      end
    end
    
  effect_1:SetCondition(cache_1)
  
  cache_1 = function
    Debug.ShowHint("目标已达成!")
    Duel.SetLP(1,0)
    end
  
  effect_1:SetOperation(cache_1)
  
  Duel.RegisterEffect(effect_1,0)
  end







|









|


















|








205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
        end
      end
    end
  effect_1:SetOperation(print_hand)
  str_1:RegisterEffect(effect_1)
  end
  
fun["全部回到卡组"] = function()
  Debug.ShowHint("胜利条件:让对方的卡回到卡组。")
  
  effect_1 = Effect.GlobalEffect()
  
  effect_1:SetType(EFFECT_TYPE_FIELD
  + EFFECT_TYPE_CONTINUOUS)
  
  effect_1:SetCode(EVENT_ADJUST)
  
  cache_1 = function()
    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
    
    cache_1 = Duel.GetFieldGroupCount(1,cache_1,0)
    
    if cache_1 == 0 then
      return true
    else
      return false
      end
    end
    
  effect_1:SetCondition(cache_1)
  
  cache_1 = function()
    Debug.ShowHint("目标已达成!")
    Duel.SetLP(1,0)
    end
  
  effect_1:SetOperation(cache_1)
  
  Duel.RegisterEffect(effect_1,0)
  end