游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

Lines of script/c0.lua from check-in 155b00bc3f that are changed by the sequence of edits moving toward check-in a2e76b01c2:

155b00bc3f 2024-01-23    1: 
                         2: local str = {}
                         3: local math = math
                         4: local string = string
                         5: local table = table
                         6: _G.fun = {}
                         7: ---------------------------------
                         8: local cache_1
                         9: local cache_2
                        10: local cache_3
                        11: local cache_4
                        12: local cache_5
                        13: local cache_6
                        14: local cache_7
                        15: local cache_8
                        16: local cache_9
                        17: local _
                        18: str["效果卡的种类表"] = {
155b00bc3f 2024-01-23   19:   TYPE_SPELL
155b00bc3f 2024-01-23   20:   , TYPE_TRAP
155b00bc3f 2024-01-23   21:   , TYPE_EFFECT
155b00bc3f 2024-01-23   22:   }
                        23: str["无效果灵摆怪兽表"] = {
155b00bc3f 2024-01-23   24:   28363749
155b00bc3f 2024-01-23   25:   , 19474136
155b00bc3f 2024-01-23   26:   , 17390179
155b00bc3f 2024-01-23   27:   , 83980492
155b00bc3f 2024-01-23   28:   }
                        29: cache_1 = 0
155b00bc3f 2024-01-23   30: cache_1 = cache_1 + LOCATION_HAND
155b00bc3f 2024-01-23   31: + LOCATION_MZONE
155b00bc3f 2024-01-23   32: + LOCATION_SZONE
155b00bc3f 2024-01-23   33: + LOCATION_GRAVE
155b00bc3f 2024-01-23   34: + LOCATION_REMOVED
                        35: str["除卡组与额外卡组以外的区域"] = cache_1
155b00bc3f 2024-01-23   36: cache_1 = cache_1 + LOCATION_DECK
155b00bc3f 2024-01-23   37: + LOCATION_EXTRA
                        38: str["所有区域"] = cache_1
                        39: --第一层-------------------------------
                        40: local cache_1
                        41: local cache_2
                        42: local cache_3
                        43: local cache_4
                        44: local cache_5
                        45: local cache_6
                        46: local cache_7
                        47: local cache_8
                        48: local cache_9
                        49: local _
                        50: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
                        51: Debug.ReloadFieldBegin = function(str_1, str_2) --{
155b00bc3f 2024-01-23   52:   str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
155b00bc3f 2024-01-23   53:   str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
155b00bc3f 2024-01-23   54:   str["无AI"] = str_1 & DUEL_SIMPLE_AI
155b00bc3f 2024-01-23   55:   str["规则表"] = {
155b00bc3f 2024-01-23   56:     [3] = "大师3 "
155b00bc3f 2024-01-23   57:     , [4] = "新大师 "
155b00bc3f 2024-01-23   58:     , [5] = "大师2020 "
155b00bc3f 2024-01-23   59:     }
155b00bc3f 2024-01-23   60:   if str_2 then --{
155b00bc3f 2024-01-23   61:     str["规则"] = str["规则表"][str_2]
155b00bc3f 2024-01-23   62:     --}
155b00bc3f 2024-01-23   63:   else --{
155b00bc3f 2024-01-23   64:     str["规则"] = str["规则表"][5]
155b00bc3f 2024-01-23   65:     end --}
155b00bc3f 2024-01-23   66:   fun["Debug.ReloadFieldBegin"](str_1, str_2)
155b00bc3f 2024-01-23   67:   end --}
                        68: fun["一_随机抽卡"] = function(str_1) --{
155b00bc3f 2024-01-23   69:   str["随机抽卡的数量"] = str_1
155b00bc3f 2024-01-23   70:   str["效果"] = Effect.GlobalEffect()
155b00bc3f 2024-01-23   71:   str["效果"]:SetType(EFFECT_TYPE_FIELD
155b00bc3f 2024-01-23   72:   + EFFECT_TYPE_CONTINUOUS)
155b00bc3f 2024-01-23   73:   str["效果"]:SetCode(EVENT_ADJUST)
155b00bc3f 2024-01-23   74:   str["效果"]:SetCondition(aux.TRUE)
155b00bc3f 2024-01-23   75:   function cache_1(effect_event
155b00bc3f 2024-01-23   76:   , player_who_activate_the_effect) --{
155b00bc3f 2024-01-23   77:     Duel.ShuffleDeck(0)
155b00bc3f 2024-01-23   78:     Duel.Draw(0,str_1,REASON_RULE)
155b00bc3f 2024-01-23   79:     effect_event:Reset()
155b00bc3f 2024-01-23   80:     end --}
155b00bc3f 2024-01-23   81:   str["效果"]:SetOperation(cache_1)
155b00bc3f 2024-01-23   82:   Duel.RegisterEffect(str["效果"]
155b00bc3f 2024-01-23   83:   , 0)
155b00bc3f 2024-01-23   84:   end --}
                        85: fun["一_失败得分"] = function() --{
155b00bc3f 2024-01-23   86:   str["失败得分表"] = {
155b00bc3f 2024-01-23   87:     [0] = "神龙之圣刻印"
155b00bc3f 2024-01-23   88:     , [100] = "调和支援士"
155b00bc3f 2024-01-23   89:     , [200] = "深渊的暗杀者"
155b00bc3f 2024-01-23   90:     , [300] = "救援猫"
155b00bc3f 2024-01-23   91:     , [400] = "注射天使 莉莉"
155b00bc3f 2024-01-23   92:     , [500] = "不知火的隐者"
155b00bc3f 2024-01-23   93:     , [600] = "影依猎鹰"
155b00bc3f 2024-01-23   94:     , [700] = "铁兽战线 姬特"
155b00bc3f 2024-01-23   95:     , [800] = "召唤僧"
155b00bc3f 2024-01-23   96:     , [900] = "恩底弥翁的仆从"
155b00bc3f 2024-01-23   97:     , [1000] = "机壳工具 丑恶"
155b00bc3f 2024-01-23   98:     , [1100] = "欧尼斯特"
155b00bc3f 2024-01-23   99:     , [1200] = "次元吸引者"
155b00bc3f 2024-01-23  100:     , [1300] = "黑羽-疾风之盖尔"
155b00bc3f 2024-01-23  101:     , [1400] = "加农炮兵"
155b00bc3f 2024-01-23  102:     , [1500] = "教导的大神祗官"
155b00bc3f 2024-01-23  103:     , [1600] = "地中族导师"
155b00bc3f 2024-01-23  104:     , [1700] = "相剑师-莫邪"
155b00bc3f 2024-01-23  105:     , [1800] = "宝玉兽-青玉飞马"
155b00bc3f 2024-01-23  106:     , [1900] = "命运英雄 血魔-D"
155b00bc3f 2024-01-23  107:     , [2000] = "流离的狮鹫骑手"
155b00bc3f 2024-01-23  108:     , [2100] = "电子龙"
155b00bc3f 2024-01-23  109:     , [2200] = "古遗物-死镰"
155b00bc3f 2024-01-23  110:     , [2300] = "能朋克 调狐"
155b00bc3f 2024-01-23  111:     , [2400] = "俱舍怒威族·芬里尔狼"
155b00bc3f 2024-01-23  112:     , [2500] = "黑魔术师"
155b00bc3f 2024-01-23  113:     , [2600] = "雅典娜"
155b00bc3f 2024-01-23  114:     , [2700] = "暗黑界的龙神 格拉法"
155b00bc3f 2024-01-23  115:     , [2800] = "魔导兽 刻耳柏洛斯尊主"
155b00bc3f 2024-01-23  116:     , [2900] = "元素英雄 永生侠"
155b00bc3f 2024-01-23  117:     , [3000] = "青眼白龙"
155b00bc3f 2024-01-23  118:     }
155b00bc3f 2024-01-23  119:   str["对方玩家的初始生命值"] = Duel.GetLP(1)
155b00bc3f 2024-01-23  120:   str["效果"] = Effect.GlobalEffect()
155b00bc3f 2024-01-23  121:   str["效果"]:SetType(EFFECT_TYPE_FIELD
155b00bc3f 2024-01-23  122:   + EFFECT_TYPE_CONTINUOUS)
155b00bc3f 2024-01-23  123:   str["效果"]:SetCode(EVENT_PHASE_START+PHASE_END)
155b00bc3f 2024-01-23  124:   function cache_1(effect_event
155b00bc3f 2024-01-23  125:   , player_who_activate_the_effect) --{
155b00bc3f 2024-01-23  126:     cache_1 = Duel.GetLP(1) - str["对方玩家的初始生命值"]
155b00bc3f 2024-01-23  127:     if cache_1 > 0 then --{
155b00bc3f 2024-01-23  128:       return
155b00bc3f 2024-01-23  129:       --}
155b00bc3f 2024-01-23  130:     else --{
155b00bc3f 2024-01-23  131:       cache_1 = math.abs(cache_1) / (str["对方玩家的初始生命值"] - 100)
155b00bc3f 2024-01-23  132:       cache_1 = math.tointeger(cache_1 * 3000 // 100 * 100)
155b00bc3f 2024-01-23  133:       end --}
155b00bc3f 2024-01-23  134:     if cache_1 > 3000 then --{
155b00bc3f 2024-01-23  135:       --}
155b00bc3f 2024-01-23  136:     else --{
155b00bc3f 2024-01-23  137:       Debug.ShowHint("这局,您的得分是 "
155b00bc3f 2024-01-23  138:       .. cache_1
155b00bc3f 2024-01-23  139:       .. " 分!\n处于「"
155b00bc3f 2024-01-23  140:       .. str["失败得分表"][cache_1]
155b00bc3f 2024-01-23  141:       .. "」级别!")
155b00bc3f 2024-01-23  142:       end --}
155b00bc3f 2024-01-23  143:     effect_event:Reset()
155b00bc3f 2024-01-23  144:     end --}
155b00bc3f 2024-01-23  145:   str["效果"]:SetOperation(cache_1)
155b00bc3f 2024-01-23  146:   Duel.RegisterEffect(str["效果"]
155b00bc3f 2024-01-23  147:   , 0)
155b00bc3f 2024-01-23  148:   end --}
                       149: fun["一_该效果不能被连锁"] = function() --{
155b00bc3f 2024-01-23  150:   Duel.SetChainLimit(aux.FALSE)
155b00bc3f 2024-01-23  151:   return true
155b00bc3f 2024-01-23  152:   end --}
                       153: fun["一_通关邀请"] = function() --{
155b00bc3f 2024-01-23  154:   --备用:圣魔术师
155b00bc3f 2024-01-23  155:   str["原解邀请"] = "残局群181175613"
155b00bc3f 2024-01-23  156:   str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
155b00bc3f 2024-01-23  157:   str["效果"] = Effect.GlobalEffect()
155b00bc3f 2024-01-23  158:   str["效果"]:SetType(EFFECT_TYPE_FIELD
155b00bc3f 2024-01-23  159:   + EFFECT_TYPE_CONTINUOUS)
155b00bc3f 2024-01-23  160:   str["效果"]:SetCode(EVENT_DAMAGE)
155b00bc3f 2024-01-23  161:   function cache_1() --{
155b00bc3f 2024-01-23  162:     cache_1 = Duel.GetLP(1)
155b00bc3f 2024-01-23  163:     if cache_1 <= 0 then --{
155b00bc3f 2024-01-23  164:       if cache_1 == 0 then --{
155b00bc3f 2024-01-23  165:         --}
155b00bc3f 2024-01-23  166:       else  --{
155b00bc3f 2024-01-23  167:         Debug.ShowHint(str["二解邀请"])
155b00bc3f 2024-01-23  168:         end --}
155b00bc3f 2024-01-23  169:       Debug.ShowHint(str["原解邀请"])
155b00bc3f 2024-01-23  170:       --}
155b00bc3f 2024-01-23  171:     else --{
155b00bc3f 2024-01-23  172:       return false
155b00bc3f 2024-01-23  173:       end --}
155b00bc3f 2024-01-23  174:     end --}
155b00bc3f 2024-01-23  175:   str["效果"]:SetCondition(cache_1)
155b00bc3f 2024-01-23  176:   str["效果"]:SetOperation(aux.NULL)
155b00bc3f 2024-01-23  177:   Duel.RegisterEffect(str["效果"]
155b00bc3f 2024-01-23  178:   , 0)
155b00bc3f 2024-01-23  179:   end --}
                       180: fun["一_是否效果卡"] = function(card) --{
155b00bc3f 2024-01-23  181:   for i = 1, #str["效果卡的种类表"] do --{
155b00bc3f 2024-01-23  182:     if Card.IsType(card, str["效果卡的种类表"][i]) then --{
155b00bc3f 2024-01-23  183:       return true
155b00bc3f 2024-01-23  184:       end --}
155b00bc3f 2024-01-23  185:     end --}
155b00bc3f 2024-01-23  186:   if Card.IsType(card, TYPE_PENDULUM) then --{
155b00bc3f 2024-01-23  187:     for i = 1, #str["无效果灵摆怪兽表"] do --{
155b00bc3f 2024-01-23  188:       if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then --{
155b00bc3f 2024-01-23  189:         --}
155b00bc3f 2024-01-23  190:       else  --{
155b00bc3f 2024-01-23  191:         return true
155b00bc3f 2024-01-23  192:         end --}
155b00bc3f 2024-01-23  193:       end --}
155b00bc3f 2024-01-23  194:     end --}
155b00bc3f 2024-01-23  195:   return false
155b00bc3f 2024-01-23  196:   end --}
                       197: fun["一_开局添加手卡"] = function(str_1) --{
155b00bc3f 2024-01-23  198:   str["开局添加手卡"] = true
155b00bc3f 2024-01-23  199:   str["开局添加手卡的数量"] = str_1
155b00bc3f 2024-01-23  200:   str["效果"] = Effect.GlobalEffect()
155b00bc3f 2024-01-23  201:   str["效果"]:SetType(EFFECT_TYPE_FIELD
155b00bc3f 2024-01-23  202:   + EFFECT_TYPE_CONTINUOUS)
155b00bc3f 2024-01-23  203:   str["效果"]:SetCode(EVENT_ADJUST)
155b00bc3f 2024-01-23  204:   str["效果"]:SetCondition(aux.TRUE)
155b00bc3f 2024-01-23  205:   function cache_1(effect_event
155b00bc3f 2024-01-23  206:   , player_who_activate_the_effect) --{
155b00bc3f 2024-01-23  207:     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
155b00bc3f 2024-01-23  208:     , Card.IsAbleToHand
155b00bc3f 2024-01-23  209:     , player_who_activate_the_effect
155b00bc3f 2024-01-23  210:     , LOCATION_DECK
155b00bc3f 2024-01-23  211:     , 0
155b00bc3f 2024-01-23  212:     , str_1
155b00bc3f 2024-01-23  213:     , str_1
155b00bc3f 2024-01-23  214:     , nil)
155b00bc3f 2024-01-23  215:     Duel.SendtoHand(str["玩家选定的卡"]
155b00bc3f 2024-01-23  216:     , nil
155b00bc3f 2024-01-23  217:     , REASON_RULE)
155b00bc3f 2024-01-23  218:     effect_event:Reset()
155b00bc3f 2024-01-23  219:     end --}
155b00bc3f 2024-01-23  220:   str["效果"]:SetOperation(cache_1)
155b00bc3f 2024-01-23  221:   Duel.RegisterEffect(str["效果"]
155b00bc3f 2024-01-23  222:   , 0)
155b00bc3f 2024-01-23  223:   end --}
                       224: fun["一_禁格"] = function(str_1) --{
155b00bc3f 2024-01-23  225:   str["禁格"] = true
155b00bc3f 2024-01-23  226:   str["禁格的数量"] = str_1
155b00bc3f 2024-01-23  227:   str["效果"] = Effect.GlobalEffect()
155b00bc3f 2024-01-23  228:   str["效果"]:SetCode(EFFECT_USE_EXTRA_MZONE)
155b00bc3f 2024-01-23  229:   str["效果"]:SetValue(str_1)
155b00bc3f 2024-01-23  230:   Duel.RegisterEffect(str["效果"],0)
155b00bc3f 2024-01-23  231:   end --}
                       232: --第二层-------------------------------
                       233: local cache_1
                       234: local cache_2
                       235: local cache_3
                       236: local cache_4
                       237: local cache_5
                       238: local cache_6
                       239: local cache_7
                       240: local cache_8
                       241: local cache_9
                       242: local _
                       243: fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
                       244: Debug.ReloadFieldEnd = function(str_1) --{
155b00bc3f 2024-01-23  245:   fun["Debug.ReloadFieldEnd"]()
155b00bc3f 2024-01-23  246:   if str_1 then --{
155b00bc3f 2024-01-23  247:     fun["一_随机抽卡"](str_1)
155b00bc3f 2024-01-23  248:     end --}
155b00bc3f 2024-01-23  249:   end --}
                       250: fun["二_印卡"] = function(str_1, str_2, str_3) --{
155b00bc3f 2024-01-23  251:   if str_3 then --{
155b00bc3f 2024-01-23  252:     --}
155b00bc3f 2024-01-23  253:   else --{
155b00bc3f 2024-01-23  254:     str_3 = str_2
155b00bc3f 2024-01-23  255:     end --}
155b00bc3f 2024-01-23  256:   Debug.ShowHint("点击对方额外卡组可以进行印卡。\n手卡只能印 "
155b00bc3f 2024-01-23  257:   .. str_2
155b00bc3f 2024-01-23  258:   .. " 张。\n最多可以印 "
155b00bc3f 2024-01-23  259:   .. str_3
155b00bc3f 2024-01-23  260:   .. " 张")
155b00bc3f 2024-01-23  261:   str["效果"] = Effect.CreateEffect(str_1)
155b00bc3f 2024-01-23  262:   str["当前印卡数"] = 1
155b00bc3f 2024-01-23  263:   str["效果"]:SetType(EFFECT_TYPE_IGNITION)
155b00bc3f 2024-01-23  264:   str["效果"]:SetProperty(EFFECT_FLAG_BOTH_SIDE
155b00bc3f 2024-01-23  265:   + EFFECT_FLAG_UNCOPYABLE
155b00bc3f 2024-01-23  266:   + EFFECT_FLAG_CANNOT_NEGATE
155b00bc3f 2024-01-23  267:   + EFFECT_FLAG_CANNOT_DISABLE)
155b00bc3f 2024-01-23  268:   str["效果"]:SetTarget(fun["一_该效果不能被连锁"])
155b00bc3f 2024-01-23  269:   str["效果"]:SetRange(LOCATION_EXTRA)
155b00bc3f 2024-01-23  270:   function print_hand(effect_event
155b00bc3f 2024-01-23  271:   , player_who_activate_the_effect) --{
155b00bc3f 2024-01-23  272:     announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
155b00bc3f 2024-01-23  273:     card = Duel.CreateToken(player_who_activate_the_effect
155b00bc3f 2024-01-23  274:     , announce_card)
155b00bc3f 2024-01-23  275:     if str["当前印卡数"] <= str_2 then --{
155b00bc3f 2024-01-23  276:       str["当前印卡数"] = str["当前印卡数"] + 1
155b00bc3f 2024-01-23  277:       Duel.SendtoHand(card,nil,REASON_RULE)
155b00bc3f 2024-01-23  278:       --}
155b00bc3f 2024-01-23  279:     else --{
155b00bc3f 2024-01-23  280:       if str["当前印卡数"] <= str_3 then --{
155b00bc3f 2024-01-23  281:         str["当前印卡数"] = str["当前印卡数"] + 1
155b00bc3f 2024-01-23  282:         Duel.Remove(card,POS_FACEUP,REASON_RULE)
155b00bc3f 2024-01-23  283:         Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE)
155b00bc3f 2024-01-23  284:         --}
155b00bc3f 2024-01-23  285:       else --{
155b00bc3f 2024-01-23  286:         Debug.ShowHint("印卡过多!")
155b00bc3f 2024-01-23  287:         effect_event:Reset()
155b00bc3f 2024-01-23  288:         end --}
155b00bc3f 2024-01-23  289:       end --}
155b00bc3f 2024-01-23  290:     end --}
155b00bc3f 2024-01-23  291:   str["效果"]:SetOperation(print_hand)
155b00bc3f 2024-01-23  292:   str_1:RegisterEffect(str["效果"])
155b00bc3f 2024-01-23  293:   end --}
                       294: fun["二_开局说明"] = function() --{
155b00bc3f 2024-01-23  295:   str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"]
155b00bc3f 2024-01-23  296:   , 0
155b00bc3f 2024-01-23  297:   , str["所有区域"]
155b00bc3f 2024-01-23  298:   , str["所有区域"]
155b00bc3f 2024-01-23  299:   , nil)
155b00bc3f 2024-01-23  300:   str["超量素材组"] = Duel.GetOverlayGroup(0
155b00bc3f 2024-01-23  301:   , LOCATION_MZONE
155b00bc3f 2024-01-23  302:   , LOCATION_MZONE)
155b00bc3f 2024-01-23  303:   for k in aux.Next(str["超量素材组"]) do --{
155b00bc3f 2024-01-23  304:     if fun["一_是否效果卡"](k) then --{
155b00bc3f 2024-01-23  305:       str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
155b00bc3f 2024-01-23  306:       end --}
155b00bc3f 2024-01-23  307:     end --}
155b00bc3f 2024-01-23  308:   str["开局说明"] = str["这个残局的效果卡数量"]
155b00bc3f 2024-01-23  309:   .. "卡 "
155b00bc3f 2024-01-23  310:   .. str["规则"]
155b00bc3f 2024-01-23  311:   if str["不洗牌"] == 0 then --{
155b00bc3f 2024-01-23  312:     --}
155b00bc3f 2024-01-23  313:   else --{
155b00bc3f 2024-01-23  314:     str["开局说明"] = str["开局说明"] .. "伪洗牌 "
155b00bc3f 2024-01-23  315:     end --}
155b00bc3f 2024-01-23  316:   if str["无BP"] == 0 then --{
155b00bc3f 2024-01-23  317:     str["开局说明"] = str["开局说明"] .. "无BP "
155b00bc3f 2024-01-23  318:     end --}
155b00bc3f 2024-01-23  319:   if str["无AI"] == 0 then --{
155b00bc3f 2024-01-23  320:     str["开局说明"] = str["开局说明"] .. "无AI "
155b00bc3f 2024-01-23  321:     end --}
155b00bc3f 2024-01-23  322:   if str["开局添加手卡"] then --{
155b00bc3f 2024-01-23  323:     str["开局说明"] = str["开局说明"]
155b00bc3f 2024-01-23  324:     .. "选"
155b00bc3f 2024-01-23  325:     .. str["开局添加手卡的数量"]
155b00bc3f 2024-01-23  326:     .. "卡 "
155b00bc3f 2024-01-23  327:     end --}
155b00bc3f 2024-01-23  328:   if str["禁格"] then --{
155b00bc3f 2024-01-23  329:     str["开局说明"] = str["开局说明"]
155b00bc3f 2024-01-23  330:     .. "禁"
155b00bc3f 2024-01-23  331:     .. str["禁格的数量"]
155b00bc3f 2024-01-23  332:     .. "格 "
155b00bc3f 2024-01-23  333:     end --}
155b00bc3f 2024-01-23  334:   if str["随机抽卡的数量"] then --{
155b00bc3f 2024-01-23  335:     str["开局说明"] = str["开局说明"]
155b00bc3f 2024-01-23  336:     .. "抽"
155b00bc3f 2024-01-23  337:     .. str["随机抽卡的数量"]
155b00bc3f 2024-01-23  338:     .. "卡 "
155b00bc3f 2024-01-23  339:     end --}
155b00bc3f 2024-01-23  340:   Debug.ShowHint(str["开局说明"])
155b00bc3f 2024-01-23  341:   end --}
                       342: --第三层-------------------------------
                       343: local cache_1
                       344: local cache_2
                       345: local cache_3
                       346: local cache_4
                       347: local cache_5
                       348: local cache_6
                       349: local cache_7
                       350: local cache_8
                       351: local cache_9
                       352: local _
                       353: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
                       354: aux.BeginPuzzle = function(str_1, str_2) --{
155b00bc3f 2024-01-23  355:   fun["aux.BeginPuzzle"]()
155b00bc3f 2024-01-23  356:   if str_1 then --{
155b00bc3f 2024-01-23  357:     fun["一_开局添加手卡"](str_1)
155b00bc3f 2024-01-23  358:     end --}
155b00bc3f 2024-01-23  359:   if str_2 then --{
155b00bc3f 2024-01-23  360:     fun["一_禁格"](str_2)
155b00bc3f 2024-01-23  361:     end --}
155b00bc3f 2024-01-23  362:   fun["二_开局说明"]()
155b00bc3f 2024-01-23  363:   fun["一_通关邀请"]()
155b00bc3f 2024-01-23  364:   fun["一_失败得分"]()
155b00bc3f 2024-01-23  365:   end --}
                       366: --兼容层-------------------------------
                       367: fun["印卡"] = fun["二_印卡"]
                       368: fun["开局添加手卡"] = fun["一_开局添加手卡"]
                       369: fun["是否效果卡"] = fun["一_是否效果卡"]
                       370: fun["禁格"] = fun["一_禁格"]
                       371: fun["随机抽卡"] = fun["一_随机抽卡"]