游戏王残局简化版

Check-in [d16316bada]
Login

Check-in [d16316bada]

Overview
Comment:0.0.1782
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d16316badac0c4f24546dbd256f9d296298756485d39ae20c1c35207f6388b39
User & Date: 顽雨沉风 on 2023-07-19 06:01:27
Other Links: manifest | tags
Context
2023-07-19
06:06
0.0.1783 check-in: cd474d87a3 user: 顽雨沉风 tags: trunk
06:01
0.0.1782 check-in: d16316bada user: 顽雨沉风 tags: trunk
04:27
0.0.1781 check-in: 15a06aae93 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [56ef9bb8db] to [fd228d17e5].

21
22
23
24
25
26
27







28
29
30
31
32
33
34
str["大师3"] = "大师3 "
str["新大师"] = "新大师 "
str["大师2020"] = "大师2020 "

str["不洗牌"] = false
str["无BP"] = false








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

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

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







>
>
>
>
>
>
>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
str["大师3"] = "大师3 "
str["新大师"] = "新大师 "
str["大师2020"] = "大师2020 "

str["不洗牌"] = false
str["无BP"] = false

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

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

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

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

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

str["无效果灵摆怪兽表"] = {}
94
95
96
97
98
99
100




101
102
103
104
105
106
107
  end --}
  
fun["aux.BeginPuzzle"] = aux.BeginPuzzle

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




  
  fun["开局说明"]()
  
  fun["通关邀请"]()
  
  end --}
  







>
>
>
>







101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
  end --}
  
fun["aux.BeginPuzzle"] = aux.BeginPuzzle

aux.BeginPuzzle = function() --{
  
  fun["aux.BeginPuzzle"]()
  
  if str["胜利条件表"][0] then --{
    Debug.ShowHint(str["胜利条件表"][0])
    end --}
  
  fun["开局说明"]()
  
  fun["通关邀请"]()
  
  end --}
  
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
  
  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)







|







405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
  
  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)
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
      
    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 --}
  







|











436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
      
    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 --}