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