游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

Origin for each line in script/c0.lua from check-in 155b00bc3f:

eeeff3c24b 2023-07-15    1: 
e59d27b43b 2023-07-17    2: local str = {}
6f9888787e 2023-08-02    3: local math = math
6f9888787e 2023-08-02    4: local string = string
6f9888787e 2023-08-02    5: local table = table
6f9888787e 2023-08-02    6: _G.fun = {}
6f9888787e 2023-08-02    7: ---------------------------------
dd1a253607 2023-08-02    8: local cache_1
dd1a253607 2023-08-02    9: local cache_2
dd1a253607 2023-08-02   10: local cache_3
dd1a253607 2023-08-02   11: local cache_4
dd1a253607 2023-08-02   12: local cache_5
dd1a253607 2023-08-02   13: local cache_6
dd1a253607 2023-08-02   14: local cache_7
dd1a253607 2023-08-02   15: local cache_8
dd1a253607 2023-08-02   16: local cache_9
dd1a253607 2023-08-02   17: local _
dd1a253607 2023-08-02   18: str["效果卡的种类表"] = {
dd1a253607 2023-08-02   19:   TYPE_SPELL
dd1a253607 2023-08-02   20:   , TYPE_TRAP
dd1a253607 2023-08-02   21:   , TYPE_EFFECT
dd1a253607 2023-08-02   22:   }
dd1a253607 2023-08-02   23: str["无效果灵摆怪兽表"] = {
dd1a253607 2023-08-02   24:   28363749
dd1a253607 2023-08-02   25:   , 19474136
dd1a253607 2023-08-02   26:   , 17390179
dd1a253607 2023-08-02   27:   , 83980492
dd1a253607 2023-08-02   28:   }
dd1a253607 2023-08-02   29: cache_1 = 0
dd1a253607 2023-08-02   30: cache_1 = cache_1 + LOCATION_HAND
dd1a253607 2023-08-02   31: + LOCATION_MZONE
dd1a253607 2023-08-02   32: + LOCATION_SZONE
dd1a253607 2023-08-02   33: + LOCATION_GRAVE
dd1a253607 2023-08-02   34: + LOCATION_REMOVED
dd1a253607 2023-08-02   35: str["除卡组与额外卡组以外的区域"] = cache_1
dd1a253607 2023-08-02   36: cache_1 = cache_1 + LOCATION_DECK
dd1a253607 2023-08-02   37: + LOCATION_EXTRA
dd1a253607 2023-08-02   38: str["所有区域"] = cache_1
dd1a253607 2023-08-02   39: --第一层-------------------------------
1c6488a768 2023-07-28   40: local cache_1
1c6488a768 2023-07-28   41: local cache_2
1c6488a768 2023-07-28   42: local cache_3
1c6488a768 2023-07-28   43: local cache_4
1c6488a768 2023-07-28   44: local cache_5
1c6488a768 2023-07-28   45: local cache_6
1c6488a768 2023-07-28   46: local cache_7
1c6488a768 2023-07-28   47: local cache_8
1c6488a768 2023-07-28   48: local cache_9
c291f89d7e 2023-08-02   49: local _
70edc71d15 2023-08-02   50: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
70edc71d15 2023-08-02   51: Debug.ReloadFieldBegin = function(str_1, str_2) --{
70edc71d15 2023-08-02   52:   str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
70edc71d15 2023-08-02   53:   str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
9078d0bbe3 2023-10-14   54:   str["无AI"] = str_1 & DUEL_SIMPLE_AI
70edc71d15 2023-08-02   55:   str["规则表"] = {
70edc71d15 2023-08-02   56:     [3] = "大师3 "
70edc71d15 2023-08-02   57:     , [4] = "新大师 "
70edc71d15 2023-08-02   58:     , [5] = "大师2020 "
70edc71d15 2023-08-02   59:     }
70edc71d15 2023-08-02   60:   if str_2 then --{
70edc71d15 2023-08-02   61:     str["规则"] = str["规则表"][str_2]
70edc71d15 2023-08-02   62:     --}
70edc71d15 2023-08-02   63:   else --{
70edc71d15 2023-08-02   64:     str["规则"] = str["规则表"][5]
70edc71d15 2023-08-02   65:     end --}
70edc71d15 2023-08-02   66:   fun["Debug.ReloadFieldBegin"](str_1, str_2)
70edc71d15 2023-08-02   67:   end --}
e883722fe2 2023-08-02   68: fun["一_随机抽卡"] = function(str_1) --{
e883722fe2 2023-08-02   69:   str["随机抽卡的数量"] = str_1
e883722fe2 2023-08-02   70:   str["效果"] = Effect.GlobalEffect()
e883722fe2 2023-08-02   71:   str["效果"]:SetType(EFFECT_TYPE_FIELD
e883722fe2 2023-08-02   72:   + EFFECT_TYPE_CONTINUOUS)
e883722fe2 2023-08-02   73:   str["效果"]:SetCode(EVENT_ADJUST)
e883722fe2 2023-08-02   74:   str["效果"]:SetCondition(aux.TRUE)
e883722fe2 2023-08-02   75:   function cache_1(effect_event
e883722fe2 2023-08-02   76:   , player_who_activate_the_effect) --{
e883722fe2 2023-08-02   77:     Duel.ShuffleDeck(0)
e883722fe2 2023-08-02   78:     Duel.Draw(0,str_1,REASON_RULE)
e883722fe2 2023-08-02   79:     effect_event:Reset()
e883722fe2 2023-08-02   80:     end --}
e883722fe2 2023-08-02   81:   str["效果"]:SetOperation(cache_1)
e883722fe2 2023-08-02   82:   Duel.RegisterEffect(str["效果"]
e883722fe2 2023-08-02   83:   , 0)
e883722fe2 2023-08-02   84:   end --}
c291f89d7e 2023-08-02   85: fun["一_失败得分"] = function() --{
ba4bd27237 2023-08-02   86:   str["失败得分表"] = {
1c6488a768 2023-07-28   87:     [0] = "神龙之圣刻印"
1c6488a768 2023-07-28   88:     , [100] = "调和支援士"
1c6488a768 2023-07-28   89:     , [200] = "深渊的暗杀者"
1c6488a768 2023-07-28   90:     , [300] = "救援猫"
1c6488a768 2023-07-28   91:     , [400] = "注射天使 莉莉"
1c6488a768 2023-07-28   92:     , [500] = "不知火的隐者"
1c6488a768 2023-07-28   93:     , [600] = "影依猎鹰"
1c6488a768 2023-07-28   94:     , [700] = "铁兽战线 姬特"
1c6488a768 2023-07-28   95:     , [800] = "召唤僧"
1c6488a768 2023-07-28   96:     , [900] = "恩底弥翁的仆从"
1c6488a768 2023-07-28   97:     , [1000] = "机壳工具 丑恶"
1c6488a768 2023-07-28   98:     , [1100] = "欧尼斯特"
1c6488a768 2023-07-28   99:     , [1200] = "次元吸引者"
1c6488a768 2023-07-28  100:     , [1300] = "黑羽-疾风之盖尔"
1c6488a768 2023-07-28  101:     , [1400] = "加农炮兵"
1c6488a768 2023-07-28  102:     , [1500] = "教导的大神祗官"
1c6488a768 2023-07-28  103:     , [1600] = "地中族导师"
1c6488a768 2023-07-28  104:     , [1700] = "相剑师-莫邪"
1c6488a768 2023-07-28  105:     , [1800] = "宝玉兽-青玉飞马"
1c6488a768 2023-07-28  106:     , [1900] = "命运英雄 血魔-D"
1c6488a768 2023-07-28  107:     , [2000] = "流离的狮鹫骑手"
1c6488a768 2023-07-28  108:     , [2100] = "电子龙"
1c6488a768 2023-07-28  109:     , [2200] = "古遗物-死镰"
1c6488a768 2023-07-28  110:     , [2300] = "能朋克 调狐"
1c6488a768 2023-07-28  111:     , [2400] = "俱舍怒威族·芬里尔狼"
1c6488a768 2023-07-28  112:     , [2500] = "黑魔术师"
1c6488a768 2023-07-28  113:     , [2600] = "雅典娜"
1c6488a768 2023-07-28  114:     , [2700] = "暗黑界的龙神 格拉法"
1c6488a768 2023-07-28  115:     , [2800] = "魔导兽 刻耳柏洛斯尊主"
1c6488a768 2023-07-28  116:     , [2900] = "元素英雄 永生侠"
1c6488a768 2023-07-28  117:     , [3000] = "青眼白龙"
1c6488a768 2023-07-28  118:     }
1c6488a768 2023-07-28  119:   str["对方玩家的初始生命值"] = Duel.GetLP(1)
1c6488a768 2023-07-28  120:   str["效果"] = Effect.GlobalEffect()
1c6488a768 2023-07-28  121:   str["效果"]:SetType(EFFECT_TYPE_FIELD
1c6488a768 2023-07-28  122:   + EFFECT_TYPE_CONTINUOUS)
1c6488a768 2023-07-28  123:   str["效果"]:SetCode(EVENT_PHASE_START+PHASE_END)
1c6488a768 2023-07-28  124:   function cache_1(effect_event
1c6488a768 2023-07-28  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 --{
1c6488a768 2023-07-28  137:       Debug.ShowHint("这局,您的得分是 "
1c6488a768 2023-07-28  138:       .. cache_1
1c6488a768 2023-07-28  139:       .. " 分!\n处于「"
1c6488a768 2023-07-28  140:       .. str["失败得分表"][cache_1]
1c6488a768 2023-07-28  141:       .. "」级别!")
7282130e6b 2023-10-12  142:       end --}
7282130e6b 2023-10-12  143:     effect_event:Reset()
7282130e6b 2023-10-12  144:     end --}
7282130e6b 2023-10-12  145:   str["效果"]:SetOperation(cache_1)
7282130e6b 2023-10-12  146:   Duel.RegisterEffect(str["效果"]
7282130e6b 2023-10-12  147:   , 0)
7282130e6b 2023-10-12  148:   end --}
7282130e6b 2023-10-12  149: fun["一_该效果不能被连锁"] = function() --{
7282130e6b 2023-10-12  150:   Duel.SetChainLimit(aux.FALSE)
7282130e6b 2023-10-12  151:   return true
7282130e6b 2023-10-12  152:   end --}
7282130e6b 2023-10-12  153: fun["一_通关邀请"] = function() --{
7282130e6b 2023-10-12  154:   --备用:圣魔术师
7282130e6b 2023-10-12  155:   str["原解邀请"] = "残局群181175613"
7282130e6b 2023-10-12  156:   str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
7282130e6b 2023-10-12  157:   str["效果"] = Effect.GlobalEffect()
7282130e6b 2023-10-12  158:   str["效果"]:SetType(EFFECT_TYPE_FIELD
7282130e6b 2023-10-12  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)
7282130e6b 2023-10-12  177:   Duel.RegisterEffect(str["效果"]
7282130e6b 2023-10-12  178:   , 0)
155b00bc3f 2024-01-23  179:   end --}
155b00bc3f 2024-01-23  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 --}
155b00bc3f 2024-01-23  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) --{
c291f89d7e 2023-08-02  207:     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
c291f89d7e 2023-08-02  208:     , Card.IsAbleToHand
c291f89d7e 2023-08-02  209:     , player_who_activate_the_effect
c291f89d7e 2023-08-02  210:     , LOCATION_DECK
c291f89d7e 2023-08-02  211:     , 0
c291f89d7e 2023-08-02  212:     , str_1
c291f89d7e 2023-08-02  213:     , str_1
c291f89d7e 2023-08-02  214:     , nil)
c291f89d7e 2023-08-02  215:     Duel.SendtoHand(str["玩家选定的卡"]
c291f89d7e 2023-08-02  216:     , nil
c291f89d7e 2023-08-02  217:     , REASON_RULE)
c291f89d7e 2023-08-02  218:     effect_event:Reset()
c291f89d7e 2023-08-02  219:     end --}
c291f89d7e 2023-08-02  220:   str["效果"]:SetOperation(cache_1)
1c6488a768 2023-07-28  221:   Duel.RegisterEffect(str["效果"]
1c6488a768 2023-07-28  222:   , 0)
c291f89d7e 2023-08-02  223:   end --}
c291f89d7e 2023-08-02  224: fun["一_禁格"] = function(str_1) --{
0912fe4f22 2023-10-08  225:   str["禁格"] = true
c291f89d7e 2023-08-02  226:   str["禁格的数量"] = str_1
c291f89d7e 2023-08-02  227:   str["效果"] = Effect.GlobalEffect()
c291f89d7e 2023-08-02  228:   str["效果"]:SetCode(EFFECT_USE_EXTRA_MZONE)
c291f89d7e 2023-08-02  229:   str["效果"]:SetValue(str_1)
c291f89d7e 2023-08-02  230:   Duel.RegisterEffect(str["效果"],0)
c291f89d7e 2023-08-02  231:   end --}
c291f89d7e 2023-08-02  232: --第二层-------------------------------
155b00bc3f 2024-01-23  233: local cache_1
155b00bc3f 2024-01-23  234: local cache_2
155b00bc3f 2024-01-23  235: local cache_3
155b00bc3f 2024-01-23  236: local cache_4
155b00bc3f 2024-01-23  237: local cache_5
155b00bc3f 2024-01-23  238: local cache_6
155b00bc3f 2024-01-23  239: local cache_7
155b00bc3f 2024-01-23  240: local cache_8
155b00bc3f 2024-01-23  241: local cache_9
155b00bc3f 2024-01-23  242: local _
155b00bc3f 2024-01-23  243: fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
155b00bc3f 2024-01-23  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 --}
155b00bc3f 2024-01-23  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 --}
155b00bc3f 2024-01-23  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 --}
155b00bc3f 2024-01-23  342: --第三层-------------------------------
c291f89d7e 2023-08-02  343: local cache_1
c291f89d7e 2023-08-02  344: local cache_2
c291f89d7e 2023-08-02  345: local cache_3
c291f89d7e 2023-08-02  346: local cache_4
c291f89d7e 2023-08-02  347: local cache_5
c291f89d7e 2023-08-02  348: local cache_6
c291f89d7e 2023-08-02  349: local cache_7
c291f89d7e 2023-08-02  350: local cache_8
c291f89d7e 2023-08-02  351: local cache_9
155b00bc3f 2024-01-23  352: local _
155b00bc3f 2024-01-23  353: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
155b00bc3f 2024-01-23  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 --}
155b00bc3f 2024-01-23  366: --兼容层-------------------------------
30619e5bbd 2023-08-02  367: fun["印卡"] = fun["二_印卡"]
30619e5bbd 2023-08-02  368: fun["开局添加手卡"] = fun["一_开局添加手卡"]
30619e5bbd 2023-08-02  369: fun["是否效果卡"] = fun["一_是否效果卡"]
30619e5bbd 2023-08-02  370: fun["禁格"] = fun["一_禁格"]
30619e5bbd 2023-08-02  371: fun["随机抽卡"] = fun["一_随机抽卡"]