Lines of
script/c0.lua
from check-in 9078d0bbe3
that are changed by the sequence of edits moving toward
check-in 155b00bc3f:
1:
2: local str = {}
9078d0bbe3 2023-10-14 3:
4: local math = math
5: local string = string
6: local table = table
9078d0bbe3 2023-10-14 7:
8: _G.fun = {}
9078d0bbe3 2023-10-14 9:
10: ---------------------------------
9078d0bbe3 2023-10-14 11:
12: local cache_1
13: local cache_2
14: local cache_3
15: local cache_4
16: local cache_5
17: local cache_6
18: local cache_7
19: local cache_8
20: local cache_9
9078d0bbe3 2023-10-14 21:
22: local _
9078d0bbe3 2023-10-14 23:
24: str["效果卡的种类表"] = {
9078d0bbe3 2023-10-14 25:
26: TYPE_SPELL
27: , TYPE_TRAP
28: , TYPE_EFFECT
29: }
9078d0bbe3 2023-10-14 30:
31: str["无效果灵摆怪兽表"] = {
9078d0bbe3 2023-10-14 32:
33: 28363749
34: , 19474136
35: , 17390179
36: , 83980492
37: }
9078d0bbe3 2023-10-14 38:
39: cache_1 = 0
9078d0bbe3 2023-10-14 40:
41: cache_1 = cache_1 + LOCATION_HAND
42: + LOCATION_MZONE
43: + LOCATION_SZONE
44: + LOCATION_GRAVE
45: + LOCATION_REMOVED
9078d0bbe3 2023-10-14 46:
47: str["除卡组与额外卡组以外的区域"] = cache_1
9078d0bbe3 2023-10-14 48:
49: cache_1 = cache_1 + LOCATION_DECK
50: + LOCATION_EXTRA
9078d0bbe3 2023-10-14 51:
52: str["所有区域"] = cache_1
9078d0bbe3 2023-10-14 53:
54: --第一层-------------------------------
9078d0bbe3 2023-10-14 55:
56: local cache_1
57: local cache_2
58: local cache_3
59: local cache_4
60: local cache_5
61: local cache_6
62: local cache_7
63: local cache_8
64: local cache_9
9078d0bbe3 2023-10-14 65:
66: local _
9078d0bbe3 2023-10-14 67:
68: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
9078d0bbe3 2023-10-14 69:
70: Debug.ReloadFieldBegin = function(str_1, str_2) --{
9078d0bbe3 2023-10-14 71:
72: str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
9078d0bbe3 2023-10-14 73:
74: str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
9078d0bbe3 2023-10-14 75:
76: str["无AI"] = str_1 & DUEL_SIMPLE_AI
9078d0bbe3 2023-10-14 77:
78: str["规则表"] = {
9078d0bbe3 2023-10-14 79:
80: [3] = "大师3 "
81: , [4] = "新大师 "
82: , [5] = "大师2020 "
83: }
9078d0bbe3 2023-10-14 84:
85: if str_2 then --{
9078d0bbe3 2023-10-14 86:
87: str["规则"] = str["规则表"][str_2]
9078d0bbe3 2023-10-14 88:
89: --}
9078d0bbe3 2023-10-14 90:
91: else --{
9078d0bbe3 2023-10-14 92:
93: str["规则"] = str["规则表"][5]
9078d0bbe3 2023-10-14 94:
95: end --}
9078d0bbe3 2023-10-14 96:
97: fun["Debug.ReloadFieldBegin"](str_1, str_2)
9078d0bbe3 2023-10-14 98:
99: end --}
9078d0bbe3 2023-10-14 100:
101: fun["一_随机抽卡"] = function(str_1) --{
9078d0bbe3 2023-10-14 102:
103: str["随机抽卡的数量"] = str_1
9078d0bbe3 2023-10-14 104:
105: str["效果"] = Effect.GlobalEffect()
9078d0bbe3 2023-10-14 106:
107: str["效果"]:SetType(EFFECT_TYPE_FIELD
108: + EFFECT_TYPE_CONTINUOUS)
9078d0bbe3 2023-10-14 109:
110: str["效果"]:SetCode(EVENT_ADJUST)
9078d0bbe3 2023-10-14 111:
112: str["效果"]:SetCondition(aux.TRUE)
9078d0bbe3 2023-10-14 113:
114: function cache_1(effect_event
115: , player_who_activate_the_effect) --{
9078d0bbe3 2023-10-14 116:
117: Duel.ShuffleDeck(0)
9078d0bbe3 2023-10-14 118:
119: Duel.Draw(0,str_1,REASON_RULE)
9078d0bbe3 2023-10-14 120:
121: effect_event:Reset()
9078d0bbe3 2023-10-14 122:
123: end --}
9078d0bbe3 2023-10-14 124:
125: str["效果"]:SetOperation(cache_1)
9078d0bbe3 2023-10-14 126:
127: Duel.RegisterEffect(str["效果"]
128: , 0)
9078d0bbe3 2023-10-14 129:
130: end --}
9078d0bbe3 2023-10-14 131:
132: fun["一_失败得分"] = function() --{
9078d0bbe3 2023-10-14 133:
134: str["失败得分表"] = {
9078d0bbe3 2023-10-14 135:
136: [0] = "神龙之圣刻印"
137: , [100] = "调和支援士"
138: , [200] = "深渊的暗杀者"
139: , [300] = "救援猫"
140: , [400] = "注射天使 莉莉"
141: , [500] = "不知火的隐者"
142: , [600] = "影依猎鹰"
143: , [700] = "铁兽战线 姬特"
144: , [800] = "召唤僧"
145: , [900] = "恩底弥翁的仆从"
146: , [1000] = "机壳工具 丑恶"
147: , [1100] = "欧尼斯特"
148: , [1200] = "次元吸引者"
149: , [1300] = "黑羽-疾风之盖尔"
150: , [1400] = "加农炮兵"
151: , [1500] = "教导的大神祗官"
152: , [1600] = "地中族导师"
153: , [1700] = "相剑师-莫邪"
154: , [1800] = "宝玉兽-青玉飞马"
155: , [1900] = "命运英雄 血魔-D"
156: , [2000] = "流离的狮鹫骑手"
157: , [2100] = "电子龙"
158: , [2200] = "古遗物-死镰"
159: , [2300] = "能朋克 调狐"
160: , [2400] = "俱舍怒威族·芬里尔狼"
161: , [2500] = "黑魔术师"
162: , [2600] = "雅典娜"
163: , [2700] = "暗黑界的龙神 格拉法"
164: , [2800] = "魔导兽 刻耳柏洛斯尊主"
165: , [2900] = "元素英雄 永生侠"
166: , [3000] = "青眼白龙"
167: }
9078d0bbe3 2023-10-14 168:
169: str["对方玩家的初始生命值"] = Duel.GetLP(1)
9078d0bbe3 2023-10-14 170:
171: str["效果"] = Effect.GlobalEffect()
9078d0bbe3 2023-10-14 172:
173: str["效果"]:SetType(EFFECT_TYPE_FIELD
174: + EFFECT_TYPE_CONTINUOUS)
9078d0bbe3 2023-10-14 175:
176: str["效果"]:SetCode(EVENT_PHASE_START+PHASE_END)
9078d0bbe3 2023-10-14 177:
178: function cache_1(effect_event
179: , player_who_activate_the_effect) --{
9078d0bbe3 2023-10-14 180:
181: cache_1 = Duel.GetLP(1) - str["对方玩家的初始生命值"]
9078d0bbe3 2023-10-14 182:
183: if cache_1 > 0 then --{
9078d0bbe3 2023-10-14 184:
185: return
9078d0bbe3 2023-10-14 186:
187: --}
9078d0bbe3 2023-10-14 188:
189: else --{
9078d0bbe3 2023-10-14 190:
191: cache_1 = math.abs(cache_1) / (str["对方玩家的初始生命值"] - 100)
9078d0bbe3 2023-10-14 192:
193: cache_1 = math.tointeger(cache_1 * 3000 // 100 * 100)
9078d0bbe3 2023-10-14 194:
195: end --}
9078d0bbe3 2023-10-14 196:
197: if cache_1 > 3000 then --{
9078d0bbe3 2023-10-14 198:
199: --}
9078d0bbe3 2023-10-14 200:
201: else --{
9078d0bbe3 2023-10-14 202:
203: Debug.ShowHint("这局,您的得分是 "
204: .. cache_1
205: .. " 分!\n处于「"
206: .. str["失败得分表"][cache_1]
207: .. "」级别!")
9078d0bbe3 2023-10-14 208:
209: end --}
9078d0bbe3 2023-10-14 210:
211: effect_event:Reset()
9078d0bbe3 2023-10-14 212:
213: end --}
9078d0bbe3 2023-10-14 214:
215: str["效果"]:SetOperation(cache_1)
9078d0bbe3 2023-10-14 216:
217: Duel.RegisterEffect(str["效果"]
218: , 0)
9078d0bbe3 2023-10-14 219:
220: end --}
9078d0bbe3 2023-10-14 221:
222: fun["一_该效果不能被连锁"] = function() --{
9078d0bbe3 2023-10-14 223:
224: Duel.SetChainLimit(aux.FALSE)
9078d0bbe3 2023-10-14 225:
226: return true
227: end --}
9078d0bbe3 2023-10-14 228:
229: fun["一_通关邀请"] = function() --{
230: --备用:圣魔术师
231: str["原解邀请"] = "残局群181175613"
232: str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
9078d0bbe3 2023-10-14 233:
234: str["效果"] = Effect.GlobalEffect()
9078d0bbe3 2023-10-14 235:
236: str["效果"]:SetType(EFFECT_TYPE_FIELD
237: + EFFECT_TYPE_CONTINUOUS)
9078d0bbe3 2023-10-14 238:
239: str["效果"]:SetCode(EVENT_DAMAGE)
9078d0bbe3 2023-10-14 240:
241: function cache_1() --{
9078d0bbe3 2023-10-14 242:
243: cache_1 = Duel.GetLP(1)
9078d0bbe3 2023-10-14 244:
245: if cache_1 <= 0 then --{
9078d0bbe3 2023-10-14 246:
247: if cache_1 == 0 then --{
9078d0bbe3 2023-10-14 248:
9078d0bbe3 2023-10-14 249: --}
9078d0bbe3 2023-10-14 250:
9078d0bbe3 2023-10-14 251: else --{
9078d0bbe3 2023-10-14 252:
9078d0bbe3 2023-10-14 253: Debug.ShowHint(str["二解邀请"])
9078d0bbe3 2023-10-14 254:
9078d0bbe3 2023-10-14 255: end --}
9078d0bbe3 2023-10-14 256:
9078d0bbe3 2023-10-14 257: Debug.ShowHint(str["原解邀请"])
9078d0bbe3 2023-10-14 258:
9078d0bbe3 2023-10-14 259: --}
9078d0bbe3 2023-10-14 260:
9078d0bbe3 2023-10-14 261: else --{
9078d0bbe3 2023-10-14 262:
9078d0bbe3 2023-10-14 263: return false
9078d0bbe3 2023-10-14 264:
9078d0bbe3 2023-10-14 265: end --}
9078d0bbe3 2023-10-14 266:
9078d0bbe3 2023-10-14 267: end --}
9078d0bbe3 2023-10-14 268:
9078d0bbe3 2023-10-14 269: str["效果"]:SetCondition(cache_1)
9078d0bbe3 2023-10-14 270:
9078d0bbe3 2023-10-14 271: str["效果"]:SetOperation(aux.NULL)
9078d0bbe3 2023-10-14 272:
273: Duel.RegisterEffect(str["效果"]
274: , 0)
9078d0bbe3 2023-10-14 275:
9078d0bbe3 2023-10-14 276: end --}
9078d0bbe3 2023-10-14 277:
9078d0bbe3 2023-10-14 278: fun["一_是否效果卡"] = function(card) --{
9078d0bbe3 2023-10-14 279:
9078d0bbe3 2023-10-14 280: for i = 1, #str["效果卡的种类表"] do --{
9078d0bbe3 2023-10-14 281:
9078d0bbe3 2023-10-14 282: if Card.IsType(card, str["效果卡的种类表"][i]) then --{
9078d0bbe3 2023-10-14 283:
9078d0bbe3 2023-10-14 284: return true
9078d0bbe3 2023-10-14 285: end --}
9078d0bbe3 2023-10-14 286:
9078d0bbe3 2023-10-14 287: end --}
9078d0bbe3 2023-10-14 288:
9078d0bbe3 2023-10-14 289: if Card.IsType(card, TYPE_PENDULUM) then --{
9078d0bbe3 2023-10-14 290:
9078d0bbe3 2023-10-14 291: for i = 1, #str["无效果灵摆怪兽表"] do --{
9078d0bbe3 2023-10-14 292:
9078d0bbe3 2023-10-14 293: if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then --{
9078d0bbe3 2023-10-14 294:
9078d0bbe3 2023-10-14 295: --}
9078d0bbe3 2023-10-14 296:
9078d0bbe3 2023-10-14 297: else --{
9078d0bbe3 2023-10-14 298:
9078d0bbe3 2023-10-14 299: return true
9078d0bbe3 2023-10-14 300:
9078d0bbe3 2023-10-14 301: end --}
9078d0bbe3 2023-10-14 302:
9078d0bbe3 2023-10-14 303: end --}
9078d0bbe3 2023-10-14 304:
9078d0bbe3 2023-10-14 305: end --}
9078d0bbe3 2023-10-14 306:
9078d0bbe3 2023-10-14 307: return false
9078d0bbe3 2023-10-14 308:
9078d0bbe3 2023-10-14 309: end --}
9078d0bbe3 2023-10-14 310:
9078d0bbe3 2023-10-14 311: fun["一_开局添加手卡"] = function(str_1) --{
9078d0bbe3 2023-10-14 312:
9078d0bbe3 2023-10-14 313: str["开局添加手卡"] = true
9078d0bbe3 2023-10-14 314:
9078d0bbe3 2023-10-14 315: str["开局添加手卡的数量"] = str_1
9078d0bbe3 2023-10-14 316:
9078d0bbe3 2023-10-14 317: str["效果"] = Effect.GlobalEffect()
9078d0bbe3 2023-10-14 318:
9078d0bbe3 2023-10-14 319: str["效果"]:SetType(EFFECT_TYPE_FIELD
9078d0bbe3 2023-10-14 320: + EFFECT_TYPE_CONTINUOUS)
9078d0bbe3 2023-10-14 321:
9078d0bbe3 2023-10-14 322: str["效果"]:SetCode(EVENT_ADJUST)
9078d0bbe3 2023-10-14 323:
9078d0bbe3 2023-10-14 324: str["效果"]:SetCondition(aux.TRUE)
9078d0bbe3 2023-10-14 325:
9078d0bbe3 2023-10-14 326: function cache_1(effect_event
9078d0bbe3 2023-10-14 327: , player_who_activate_the_effect) --{
9078d0bbe3 2023-10-14 328:
329: str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
330: , Card.IsAbleToHand
331: , player_who_activate_the_effect
332: , LOCATION_DECK
333: , 0
334: , str_1
335: , str_1
336: , nil)
9078d0bbe3 2023-10-14 337:
338: Duel.SendtoHand(str["玩家选定的卡"]
339: , nil
340: , REASON_RULE)
9078d0bbe3 2023-10-14 341:
342: effect_event:Reset()
9078d0bbe3 2023-10-14 343:
344: end --}
9078d0bbe3 2023-10-14 345:
346: str["效果"]:SetOperation(cache_1)
9078d0bbe3 2023-10-14 347:
348: Duel.RegisterEffect(str["效果"]
349: , 0)
9078d0bbe3 2023-10-14 350:
351: end --}
9078d0bbe3 2023-10-14 352:
353: fun["一_禁格"] = function(str_1) --{
9078d0bbe3 2023-10-14 354:
355: str["禁格"] = true
9078d0bbe3 2023-10-14 356:
357: str["禁格的数量"] = str_1
9078d0bbe3 2023-10-14 358:
359: str["效果"] = Effect.GlobalEffect()
9078d0bbe3 2023-10-14 360:
361: str["效果"]:SetCode(EFFECT_USE_EXTRA_MZONE)
9078d0bbe3 2023-10-14 362:
363: str["效果"]:SetValue(str_1)
9078d0bbe3 2023-10-14 364:
365: Duel.RegisterEffect(str["效果"],0)
9078d0bbe3 2023-10-14 366:
367: end --}
9078d0bbe3 2023-10-14 368:
369: --第二层-------------------------------
9078d0bbe3 2023-10-14 370:
371: local cache_1
372: local cache_2
373: local cache_3
374: local cache_4
375: local cache_5
376: local cache_6
377: local cache_7
378: local cache_8
379: local cache_9
9078d0bbe3 2023-10-14 380:
381: local _
9078d0bbe3 2023-10-14 382:
383: fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
9078d0bbe3 2023-10-14 384:
385: Debug.ReloadFieldEnd = function(str_1) --{
9078d0bbe3 2023-10-14 386:
387: fun["Debug.ReloadFieldEnd"]()
9078d0bbe3 2023-10-14 388:
389: if str_1 then --{
9078d0bbe3 2023-10-14 390:
391: fun["一_随机抽卡"](str_1)
9078d0bbe3 2023-10-14 392:
393: end --}
9078d0bbe3 2023-10-14 394:
395: end --}
9078d0bbe3 2023-10-14 396:
397: fun["二_印卡"] = function(str_1, str_2, str_3) --{
9078d0bbe3 2023-10-14 398:
399: if str_3 then --{
9078d0bbe3 2023-10-14 400:
401: --}
9078d0bbe3 2023-10-14 402:
403: else --{
9078d0bbe3 2023-10-14 404:
405: str_3 = str_2
9078d0bbe3 2023-10-14 406:
407: end --}
9078d0bbe3 2023-10-14 408:
409: Debug.ShowHint("点击对方额外卡组可以进行印卡。\n手卡只能印 "
410: .. str_2
411: .. " 张。\n最多可以印 "
412: .. str_3
413: .. " 张")
9078d0bbe3 2023-10-14 414:
415: str["效果"] = Effect.CreateEffect(str_1)
9078d0bbe3 2023-10-14 416:
417: str["当前印卡数"] = 1
9078d0bbe3 2023-10-14 418:
419: str["效果"]:SetType(EFFECT_TYPE_IGNITION)
9078d0bbe3 2023-10-14 420:
421: str["效果"]:SetProperty(EFFECT_FLAG_BOTH_SIDE
422: + EFFECT_FLAG_UNCOPYABLE
423: + EFFECT_FLAG_CANNOT_NEGATE
424: + EFFECT_FLAG_CANNOT_DISABLE)
9078d0bbe3 2023-10-14 425:
426: str["效果"]:SetTarget(fun["一_该效果不能被连锁"])
9078d0bbe3 2023-10-14 427:
428: str["效果"]:SetRange(LOCATION_EXTRA)
9078d0bbe3 2023-10-14 429:
430: function print_hand(effect_event
431: , player_who_activate_the_effect) --{
9078d0bbe3 2023-10-14 432:
433: announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
9078d0bbe3 2023-10-14 434:
435: card = Duel.CreateToken(player_who_activate_the_effect
436: , announce_card)
9078d0bbe3 2023-10-14 437:
438: if str["当前印卡数"] <= str_2 then --{
9078d0bbe3 2023-10-14 439:
9078d0bbe3 2023-10-14 440: str["当前印卡数"] = str["当前印卡数"] + 1
9078d0bbe3 2023-10-14 441:
9078d0bbe3 2023-10-14 442: Duel.SendtoHand(card,nil,REASON_RULE)
9078d0bbe3 2023-10-14 443:
9078d0bbe3 2023-10-14 444: --}
9078d0bbe3 2023-10-14 445:
9078d0bbe3 2023-10-14 446: else --{
9078d0bbe3 2023-10-14 447:
9078d0bbe3 2023-10-14 448: if str["当前印卡数"] <= str_3 then --{
9078d0bbe3 2023-10-14 449:
9078d0bbe3 2023-10-14 450: str["当前印卡数"] = str["当前印卡数"] + 1
9078d0bbe3 2023-10-14 451:
9078d0bbe3 2023-10-14 452: Duel.Remove(card,POS_FACEUP,REASON_RULE)
9078d0bbe3 2023-10-14 453:
9078d0bbe3 2023-10-14 454: Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE)
9078d0bbe3 2023-10-14 455:
9078d0bbe3 2023-10-14 456: --}
9078d0bbe3 2023-10-14 457:
9078d0bbe3 2023-10-14 458: else --{
9078d0bbe3 2023-10-14 459:
9078d0bbe3 2023-10-14 460: Debug.ShowHint("印卡过多!")
9078d0bbe3 2023-10-14 461:
9078d0bbe3 2023-10-14 462: effect_event:Reset()
9078d0bbe3 2023-10-14 463:
9078d0bbe3 2023-10-14 464: end --}
9078d0bbe3 2023-10-14 465:
9078d0bbe3 2023-10-14 466: end --}
9078d0bbe3 2023-10-14 467:
9078d0bbe3 2023-10-14 468: end --}
9078d0bbe3 2023-10-14 469:
9078d0bbe3 2023-10-14 470: str["效果"]:SetOperation(print_hand)
9078d0bbe3 2023-10-14 471:
9078d0bbe3 2023-10-14 472: str_1:RegisterEffect(str["效果"])
9078d0bbe3 2023-10-14 473:
9078d0bbe3 2023-10-14 474: end --}
9078d0bbe3 2023-10-14 475:
9078d0bbe3 2023-10-14 476: fun["二_开局说明"] = function() --{
9078d0bbe3 2023-10-14 477:
478: str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"]
479: , 0
480: , str["所有区域"]
481: , str["所有区域"]
482: , nil)
9078d0bbe3 2023-10-14 483:
484: str["超量素材组"] = Duel.GetOverlayGroup(0
485: , LOCATION_MZONE
486: , LOCATION_MZONE)
9078d0bbe3 2023-10-14 487:
488: for k in aux.Next(str["超量素材组"]) do --{
9078d0bbe3 2023-10-14 489:
490: if fun["一_是否效果卡"](k) then --{
9078d0bbe3 2023-10-14 491:
492: str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
9078d0bbe3 2023-10-14 493:
494: end --}
9078d0bbe3 2023-10-14 495:
496: end --}
9078d0bbe3 2023-10-14 497:
498: str["开局说明"] = str["这个残局的效果卡数量"]
499: .. "卡 "
500: .. str["规则"]
9078d0bbe3 2023-10-14 501:
502: if str["不洗牌"] == 0 then --{
9078d0bbe3 2023-10-14 503:
504: --}
9078d0bbe3 2023-10-14 505:
506: else --{
9078d0bbe3 2023-10-14 507:
508: str["开局说明"] = str["开局说明"] .. "伪洗牌 "
9078d0bbe3 2023-10-14 509:
510: end --}
9078d0bbe3 2023-10-14 511:
512: if str["无BP"] == 0 then --{
9078d0bbe3 2023-10-14 513:
514: str["开局说明"] = str["开局说明"] .. "无BP "
9078d0bbe3 2023-10-14 515:
516: end --}
9078d0bbe3 2023-10-14 517:
518: if str["无AI"] == 0 then --{
9078d0bbe3 2023-10-14 519:
520: str["开局说明"] = str["开局说明"] .. "无AI "
9078d0bbe3 2023-10-14 521:
522: end --}
9078d0bbe3 2023-10-14 523:
524: if str["开局添加手卡"] then --{
9078d0bbe3 2023-10-14 525:
526: str["开局说明"] = str["开局说明"]
527: .. "选"
528: .. str["开局添加手卡的数量"]
529: .. "卡 "
9078d0bbe3 2023-10-14 530:
531: end --}
9078d0bbe3 2023-10-14 532:
533: if str["禁格"] then --{
9078d0bbe3 2023-10-14 534:
535: str["开局说明"] = str["开局说明"]
536: .. "禁"
537: .. str["禁格的数量"]
538: .. "格 "
9078d0bbe3 2023-10-14 539:
540: end --}
9078d0bbe3 2023-10-14 541:
542: if str["随机抽卡的数量"] then --{
9078d0bbe3 2023-10-14 543:
544: str["开局说明"] = str["开局说明"]
545: .. "抽"
546: .. str["随机抽卡的数量"]
547: .. "卡 "
548: end --}
9078d0bbe3 2023-10-14 549:
550: Debug.ShowHint(str["开局说明"])
9078d0bbe3 2023-10-14 551:
552: end --}
9078d0bbe3 2023-10-14 553:
554: --第三层-------------------------------
9078d0bbe3 2023-10-14 555:
556: local cache_1
557: local cache_2
558: local cache_3
559: local cache_4
560: local cache_5
561: local cache_6
562: local cache_7
563: local cache_8
564: local cache_9
9078d0bbe3 2023-10-14 565:
566: local _
9078d0bbe3 2023-10-14 567:
568: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
9078d0bbe3 2023-10-14 569:
570: aux.BeginPuzzle = function(str_1, str_2) --{
9078d0bbe3 2023-10-14 571:
572: fun["aux.BeginPuzzle"]()
9078d0bbe3 2023-10-14 573:
574: if str_1 then --{
9078d0bbe3 2023-10-14 575:
576: fun["一_开局添加手卡"](str_1)
9078d0bbe3 2023-10-14 577:
578: end --}
9078d0bbe3 2023-10-14 579:
580: if str_2 then --{
9078d0bbe3 2023-10-14 581:
582: fun["一_禁格"](str_2)
9078d0bbe3 2023-10-14 583:
584: end --}
9078d0bbe3 2023-10-14 585:
586: fun["二_开局说明"]()
9078d0bbe3 2023-10-14 587:
588: fun["一_通关邀请"]()
9078d0bbe3 2023-10-14 589:
590: fun["一_失败得分"]()
9078d0bbe3 2023-10-14 591:
592: end --}
9078d0bbe3 2023-10-14 593:
594: --兼容层-------------------------------
9078d0bbe3 2023-10-14 595:
9078d0bbe3 2023-10-14 596:
597: fun["印卡"] = fun["二_印卡"]
598: fun["开局添加手卡"] = fun["一_开局添加手卡"]
599: fun["是否效果卡"] = fun["一_是否效果卡"]
600: fun["禁格"] = fun["一_禁格"]
601: fun["随机抽卡"] = fun["一_随机抽卡"]