游戏王残局简化版

Check-in [ae6f66c606]
Login

Check-in [ae6f66c606]

Overview
Comment:0.0.1922
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ae6f66c606462827f1aa913bb62c133f856f594f30a70b10d9d707b7ad11f91d
User & Date: 顽雨沉风 on 2023-07-20 03:06:48
Other Links: manifest | tags
Context
2023-07-20
03:09
0.0.1923 check-in: 0833432c67 user: 顽雨沉风 tags: trunk
03:06
0.0.1922 check-in: ae6f66c606 user: 顽雨沉风 tags: trunk
02:40
0.0.1921 check-in: 9ee29d308c user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [f77d98be75] to [07d1e3f2de].

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
str["选卡的前缀"] = "选"
str["选卡的后缀"] = "卡 "

str["禁格"] = false
str["禁格的前缀"] = "禁"
str["禁格的后缀"] = "格 "

str["胜利条件表"] = {}

str["胜利条件表"][0] = false
str["胜利条件表"][1] = "胜利条件:让对方的卡全部回到卡组·额外卡组。"

str["达成胜利条件的弹窗"] = "胜利条件已达成!"

str["效果卡的种类表"] = {}

str["效果卡的种类表"][1] = TYPE_SPELL
str["效果卡的种类表"][2] = TYPE_TRAP
str["效果卡的种类表"][3] = TYPE_EFFECT

str["无效果灵摆怪兽表"] = {}







<
<
<
<
<
<
<







48
49
50
51
52
53
54







55
56
57
58
59
60
61
str["选卡的前缀"] = "选"
str["选卡的后缀"] = "卡 "

str["禁格"] = false
str["禁格的前缀"] = "禁"
str["禁格的后缀"] = "格 "








str["效果卡的种类表"] = {}

str["效果卡的种类表"][1] = TYPE_SPELL
str["效果卡的种类表"][2] = TYPE_TRAP
str["效果卡的种类表"][3] = TYPE_EFFECT

str["无效果灵摆怪兽表"] = {}
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
  
fun["aux.BeginPuzzle"] = aux.BeginPuzzle

aux.BeginPuzzle = function() --{
  
  fun["aux.BeginPuzzle"]()
  
  if str["胜利条件表"][0] then --{
    
    Debug.ShowHint(str["胜利条件表"][0])
    
    end --}
    
  fun["开局说明"]()
  
  fun["通关邀请"]()
  
  end --}
  
fun["通关邀请"] = function() --{







<
<
<
<
<
<







108
109
110
111
112
113
114






115
116
117
118
119
120
121
  
fun["aux.BeginPuzzle"] = aux.BeginPuzzle

aux.BeginPuzzle = function() --{
  
  fun["aux.BeginPuzzle"]()
  






  fun["开局说明"]()
  
  fun["通关邀请"]()
  
  end --}
  
fun["通关邀请"] = function() --{
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
      
    end --}
    
  effect_1:SetOperation(print_hand)
  
  str_1:RegisterEffect(effect_1)
  
  end --}
  
fun["全部回到卡组"] = function() --{
  
  str["胜利条件表"][0] = str["胜利条件表"][1]
  
  effect_1 = Effect.GlobalEffect()
  
  effect_1:SetType(EFFECT_TYPE_FIELD
  + EFFECT_TYPE_CONTINUOUS)
  
  effect_1:SetCode(EVENT_ADJUST)
  
  cache_1 = function() --{
    
    cache_1 = Duel.GetFieldGroupCount(1,str["除卡组与额外卡组以外的区域"],0)
    
    if cache_1 == 0 then --{
      
      return true
      
      --}
      
    else --{
      
      return false
      
      end --}
      
    end --}
    
  effect_1:SetCondition(cache_1)
  
  cache_1 = function() --{
    
    Debug.ShowHint(str["达成胜利条件的弹窗"])
    
    Duel.SetLP(1,0)
    
    end --}
    
  effect_1:SetOperation(cache_1)
  
  Duel.RegisterEffect(effect_1,0)
  
  end --}
  









<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
403
404
405
406
407
408
409
410
411













































      
    end --}
    
  effect_1:SetOperation(print_hand)
  
  str_1:RegisterEffect(effect_1)
  
  end --}