游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

Origin for each line in script/c0.lua from check-in 661e35fb9e:

eeeff3c24b 2023-07-15    1: 
e59d27b43b 2023-07-17    2: local str = {}
e59d27b43b 2023-07-17    3: 
e59d27b43b 2023-07-17    4: local cache_1
e59d27b43b 2023-07-17    5: local cache_2
e59d27b43b 2023-07-17    6: local cache_3
e59d27b43b 2023-07-17    7: local cache_4
e59d27b43b 2023-07-17    8: local cache_5
27cb01cd8e 2023-07-17    9: local cache_6
27cb01cd8e 2023-07-17   10: local cache_7
27cb01cd8e 2023-07-17   11: local cache_8
27cb01cd8e 2023-07-17   12: local cache_9
41aff3cc3d 2023-07-17   13: 
41aff3cc3d 2023-07-17   14: _G.fun = {}
27cb01cd8e 2023-07-17   15: 
1270346ecf 2023-07-19   16: ---------------------------------
1270346ecf 2023-07-19   17: 
626009b1d8 2023-07-19   18: str["规则表"] = {}
626009b1d8 2023-07-19   19: str["规则表"][3] = "大师3 "
626009b1d8 2023-07-19   20: str["规则表"][4] = "新大师 "
626009b1d8 2023-07-19   21: str["规则表"][5] = "大师2020 "
cea99f0284 2023-07-19   22: 
cea99f0284 2023-07-19   23: str["效果卡的种类表"] = {}
cea99f0284 2023-07-19   24: str["效果卡的种类表"][1] = TYPE_SPELL
cea99f0284 2023-07-19   25: str["效果卡的种类表"][2] = TYPE_TRAP
cea99f0284 2023-07-19   26: str["效果卡的种类表"][3] = TYPE_EFFECT
15a06aae93 2023-07-19   27: 
15a06aae93 2023-07-19   28: str["无效果灵摆怪兽表"] = {}
15a06aae93 2023-07-19   29: 
15a06aae93 2023-07-19   30: str["无效果灵摆怪兽表"][1] = 28363749
15a06aae93 2023-07-19   31: str["无效果灵摆怪兽表"][2] = 19474136
15a06aae93 2023-07-19   32: str["无效果灵摆怪兽表"][3] = 17390179
15a06aae93 2023-07-19   33: str["无效果灵摆怪兽表"][4] = 83980492
262ab836d0 2023-07-19   34: 
262ab836d0 2023-07-19   35: cache_1 = 0
262ab836d0 2023-07-19   36: 
262ab836d0 2023-07-19   37: cache_1 = cache_1 + LOCATION_HAND
262ab836d0 2023-07-19   38: cache_1 = cache_1 + LOCATION_MZONE
262ab836d0 2023-07-19   39: cache_1 = cache_1 + LOCATION_SZONE
262ab836d0 2023-07-19   40: cache_1 = cache_1 + LOCATION_GRAVE
262ab836d0 2023-07-19   41: cache_1 = cache_1 + LOCATION_REMOVED
262ab836d0 2023-07-19   42: 
262ab836d0 2023-07-19   43: str["除卡组与额外卡组以外的区域"] = cache_1
262ab836d0 2023-07-19   44: 
262ab836d0 2023-07-19   45: cache_1 = cache_1 + LOCATION_DECK
262ab836d0 2023-07-19   46: cache_1 = cache_1 + LOCATION_EXTRA
262ab836d0 2023-07-19   47: 
262ab836d0 2023-07-19   48: str["所有区域"] = cache_1
ba86300fd5 2023-07-19   49: 
1270346ecf 2023-07-19   50: ---------------------------------
1270346ecf 2023-07-19   51: 
ad797768a6 2023-07-14   52: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
45478ef823 2023-07-13   53: 
45478ef823 2023-07-13   54: Debug.ReloadFieldBegin = function(str_1, str_2) --{
993a6dbc45 2023-07-13   55:   
45478ef823 2023-07-13   56:   str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
45478ef823 2023-07-13   57:   
45478ef823 2023-07-13   58:   str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
45478ef823 2023-07-13   59:   
45478ef823 2023-07-13   60:   if str_2 then --{
993a6dbc45 2023-07-13   61:     
626009b1d8 2023-07-19   62:     str["规则"] = str["规则表"][str_2]
626009b1d8 2023-07-19   63:     
626009b1d8 2023-07-19   64:     --}
993a6dbc45 2023-07-13   65:     
45478ef823 2023-07-13   66:   else --{
993a6dbc45 2023-07-13   67:     
626009b1d8 2023-07-19   68:     str["规则"] = str["规则表"][5]
ad797768a6 2023-07-14   69:     
ad797768a6 2023-07-14   70:     end --}
ad797768a6 2023-07-14   71:     
ad797768a6 2023-07-14   72:   fun["Debug.ReloadFieldBegin"](str_1, str_2)
ad797768a6 2023-07-14   73:   
ad797768a6 2023-07-14   74:   end --}
ad797768a6 2023-07-14   75:   
7b13e3e7c3 2023-07-16   76: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
7b13e3e7c3 2023-07-16   77: 
66a03a682a 2023-07-20   78: aux.BeginPuzzle = function(str_1, str_2) --{
c1424b8fad 2023-07-16   79:   
02cee86a5d 2023-07-16   80:   fun["aux.BeginPuzzle"]()
c1424b8fad 2023-07-16   81:   
66a03a682a 2023-07-20   82:   if str_1 then --{
66a03a682a 2023-07-20   83:     
66a03a682a 2023-07-20   84:     fun["开局添加手卡"](str_1)
66a03a682a 2023-07-20   85:     
66a03a682a 2023-07-20   86:     end --}
66a03a682a 2023-07-20   87:     
66a03a682a 2023-07-20   88:   if str_2 then --{
66a03a682a 2023-07-20   89:     
66a03a682a 2023-07-20   90:     fun["禁格"](str_2)
66a03a682a 2023-07-20   91:     
66a03a682a 2023-07-20   92:     end --}
66a03a682a 2023-07-20   93:     
02cee86a5d 2023-07-16   94:   fun["开局说明"]()
c1424b8fad 2023-07-16   95:   
cd5279993d 2023-07-16   96:   fun["通关邀请"]()
c1424b8fad 2023-07-16   97:   
02cee86a5d 2023-07-16   98:   end --}
c1424b8fad 2023-07-16   99:   
993a6dbc45 2023-07-13  100: fun["通关邀请"] = function() --{
993a6dbc45 2023-07-13  101:   
6254eda63a 2023-07-23  102:   str["效果"] = Effect.GlobalEffect()
993a6dbc45 2023-07-13  103:   
6254eda63a 2023-07-23  104:   str["效果"]:SetType(EFFECT_TYPE_FIELD
45478ef823 2023-07-13  105:   + EFFECT_TYPE_CONTINUOUS)
45478ef823 2023-07-13  106:   
6254eda63a 2023-07-23  107:   str["效果"]:SetCode(EVENT_DAMAGE)
45478ef823 2023-07-13  108:   
45478ef823 2023-07-13  109:   function cache_1() --{
993a6dbc45 2023-07-13  110:     
45478ef823 2023-07-13  111:     cache_1 = Duel.GetLP(1)
45478ef823 2023-07-13  112:     
45478ef823 2023-07-13  113:     if cache_1 <= 0 then --{
993a6dbc45 2023-07-13  114:       
5593fe6ed7 2023-07-17  115:       if cache_1 == 0 then --{
5593fe6ed7 2023-07-17  116:         
ea070909e1 2023-07-18  117:         --}
ea070909e1 2023-07-18  118:         
ea070909e1 2023-07-18  119:       else  --{
ea070909e1 2023-07-18  120:         
0d8bedefaa 2023-07-23  121:         Debug.ShowHint("QB:「你居然二解了,请加群告诉我怎么二解。」")
334f2bc614 2023-07-18  122:         
334f2bc614 2023-07-18  123:         end --}
334f2bc614 2023-07-18  124:         
0d8bedefaa 2023-07-23  125:       Debug.ShowHint("残局群181175613")
993a6dbc45 2023-07-13  126:       
993a6dbc45 2023-07-13  127:       --}
993a6dbc45 2023-07-13  128:       
993a6dbc45 2023-07-13  129:     else --{
993a6dbc45 2023-07-13  130:       
24b898f4c2 2023-07-16  131:       return false
993a6dbc45 2023-07-13  132:       
993a6dbc45 2023-07-13  133:       end --}
993a6dbc45 2023-07-13  134:       
975214d28e 2023-07-16  135:     end --}
975214d28e 2023-07-16  136:     
6254eda63a 2023-07-23  137:   str["效果"]:SetCondition(cache_1)
115aa990c4 2023-07-16  138:   
6254eda63a 2023-07-23  139:   str["效果"]:SetOperation(aux.NULL)
115aa990c4 2023-07-16  140:   
6254eda63a 2023-07-23  141:   Duel.RegisterEffect(str["效果"]
45478ef823 2023-07-13  142:   , 0)
45478ef823 2023-07-13  143:   
45478ef823 2023-07-13  144:   end --}
993a6dbc45 2023-07-13  145:   
45478ef823 2023-07-13  146: fun["是否效果卡"] = function(card) --{
add769c64d 2023-07-19  147:   
add769c64d 2023-07-19  148:   cache_1 = #str["效果卡的种类表"]
add769c64d 2023-07-19  149:   
add769c64d 2023-07-19  150:   for i = 1, cache_1 do --{
add769c64d 2023-07-19  151:     
add769c64d 2023-07-19  152:     cache_1 = Card.IsType(card, str["效果卡的种类表"][i])
add769c64d 2023-07-19  153:     
add769c64d 2023-07-19  154:     if cache_1 then --{
add769c64d 2023-07-19  155:       
add769c64d 2023-07-19  156:       return true
add769c64d 2023-07-19  157:       end --}
add769c64d 2023-07-19  158:       
45478ef823 2023-07-13  159:     end --}
993a6dbc45 2023-07-13  160:     
45478ef823 2023-07-13  161:   cache_1 = Card.IsType(card, TYPE_PENDULUM)
45478ef823 2023-07-13  162:   
45478ef823 2023-07-13  163:   if cache_1 then --{
993a6dbc45 2023-07-13  164:     
15a06aae93 2023-07-19  165:     cache_1 = #str["无效果灵摆怪兽表"]
15a06aae93 2023-07-19  166:     
15a06aae93 2023-07-19  167:     for i = 1, cache_1 do --{
15a06aae93 2023-07-19  168:       
15a06aae93 2023-07-19  169:       cache_1 = Card.IsCode(card, str["无效果灵摆怪兽表"][i])
15a06aae93 2023-07-19  170:       
15a06aae93 2023-07-19  171:       if cache_1 then --{
15a06aae93 2023-07-19  172:         
15a06aae93 2023-07-19  173:         --}
15a06aae93 2023-07-19  174:         
15a06aae93 2023-07-19  175:       else  --{
15a06aae93 2023-07-19  176:         
15a06aae93 2023-07-19  177:         return true
15a06aae93 2023-07-19  178:         
15a06aae93 2023-07-19  179:         end --}
15a06aae93 2023-07-19  180:         
993a6dbc45 2023-07-13  181:       end --}
993a6dbc45 2023-07-13  182:       
993a6dbc45 2023-07-13  183:     end --}
993a6dbc45 2023-07-13  184:     
45478ef823 2023-07-13  185:   return false
45478ef823 2023-07-13  186:   
45478ef823 2023-07-13  187:   end --}
45478ef823 2023-07-13  188:   
45478ef823 2023-07-13  189: fun["开局说明"] = function() --{
993a6dbc45 2023-07-13  190:   
03f04117d2 2023-07-23  191:   str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"]
03f04117d2 2023-07-23  192:   , 0
03f04117d2 2023-07-23  193:   , str["所有区域"]
03f04117d2 2023-07-23  194:   , str["所有区域"]
03f04117d2 2023-07-23  195:   , nil)
262ab836d0 2023-07-19  196:   
03f04117d2 2023-07-23  197:   cache_1 = Duel.GetOverlayGroup(0
03f04117d2 2023-07-23  198:   , LOCATION_MZONE
03f04117d2 2023-07-23  199:   , LOCATION_MZONE)
45478ef823 2023-07-13  200:   
45478ef823 2023-07-13  201:   for k in aux.Next(cache_1) do --{
993a6dbc45 2023-07-13  202:     
45478ef823 2023-07-13  203:     cache_1 = fun["是否效果卡"](k)
45478ef823 2023-07-13  204:     
45478ef823 2023-07-13  205:     if cache_1 then --{
993a6dbc45 2023-07-13  206:       
45478ef823 2023-07-13  207:       str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
45478ef823 2023-07-13  208:       
45478ef823 2023-07-13  209:       end --}
993a6dbc45 2023-07-13  210:       
45478ef823 2023-07-13  211:     end --}
993a6dbc45 2023-07-13  212:     
03f04117d2 2023-07-23  213:   str["开局说明"] = str["这个残局的效果卡数量"]
03f04117d2 2023-07-23  214:   .. "卡 "
03f04117d2 2023-07-23  215:   .. str["规则"]
45478ef823 2023-07-13  216:   
45478ef823 2023-07-13  217:   if str["不洗牌"] == 0 then --{
993a6dbc45 2023-07-13  218:     
45478ef823 2023-07-13  219:     --}
993a6dbc45 2023-07-13  220:     
45478ef823 2023-07-13  221:   else --{
993a6dbc45 2023-07-13  222:     
03f04117d2 2023-07-23  223:     str["开局说明"] = str["开局说明"] .. "伪洗牌 "
45478ef823 2023-07-13  224:     
45478ef823 2023-07-13  225:     end --}
993a6dbc45 2023-07-13  226:     
45478ef823 2023-07-13  227:   if str["无BP"] == 0 then --{
993a6dbc45 2023-07-13  228:     
03f04117d2 2023-07-23  229:     str["开局说明"] = str["开局说明"] .. "无BP "
45478ef823 2023-07-13  230:     
45478ef823 2023-07-13  231:     end --}
993a6dbc45 2023-07-13  232:     
993a6dbc45 2023-07-13  233:   if str["开局添加手卡"] then --{
993a6dbc45 2023-07-13  234:     
03f04117d2 2023-07-23  235:     str["开局说明"] = str["开局说明"]
03f04117d2 2023-07-23  236:     .. "选"
ddbc332f5e 2023-07-23  237:     .. str["开局添加手卡的数量"]
ddbc332f5e 2023-07-23  238:     .. "卡 "
993a6dbc45 2023-07-13  239:     
993a6dbc45 2023-07-13  240:     end --}
993a6dbc45 2023-07-13  241:     
993a6dbc45 2023-07-13  242:   if str["禁格"] then --{
993a6dbc45 2023-07-13  243:     
27389a3b0a 2023-07-23  244:     str["开局说明"] = str["开局说明"]
27389a3b0a 2023-07-23  245:     .. "禁"
27389a3b0a 2023-07-23  246:     .. str["禁格的数量"]
27389a3b0a 2023-07-23  247:     .. "格 "
0852ed07b8 2023-07-22  248:     
0852ed07b8 2023-07-22  249:     end --}
0852ed07b8 2023-07-22  250:     
0852ed07b8 2023-07-22  251:   if str["随机抽卡的数量"] then --{
a469e38404 2023-07-22  252:     
27389a3b0a 2023-07-23  253:     str["开局说明"] = str["开局说明"]
27389a3b0a 2023-07-23  254:     .. "抽"
27389a3b0a 2023-07-23  255:     .. str["随机抽卡的数量"]
27389a3b0a 2023-07-23  256:     .. "卡 "
993a6dbc45 2023-07-13  257:     end --}
993a6dbc45 2023-07-13  258:     
993a6dbc45 2023-07-13  259:   Debug.ShowHint(str["开局说明"])
993a6dbc45 2023-07-13  260:   
993a6dbc45 2023-07-13  261:   end --}
993a6dbc45 2023-07-13  262:   
993a6dbc45 2023-07-13  263: fun["开局添加手卡"] = function(str_1) --{
993a6dbc45 2023-07-13  264:   
0d5ba0fc61 2023-07-23  265:   str["开局添加手卡的数量"] = str_1
e8a4eb1d6e 2023-07-16  266:   
6254eda63a 2023-07-23  267:   str["效果"] = Effect.GlobalEffect()
e8a4eb1d6e 2023-07-16  268:   
6254eda63a 2023-07-23  269:   str["效果"]:SetType(EFFECT_TYPE_FIELD
e8a4eb1d6e 2023-07-16  270:   + EFFECT_TYPE_CONTINUOUS)
e8a4eb1d6e 2023-07-16  271:   
6254eda63a 2023-07-23  272:   str["效果"]:SetCode(EVENT_ADJUST)
0f0474f258 2023-07-16  273:   
6254eda63a 2023-07-23  274:   str["效果"]:SetCondition(aux.TRUE)
8e87626fe9 2023-07-16  275:   
8e87626fe9 2023-07-16  276:   function cache_1(effect_event
8e87626fe9 2023-07-16  277:   , player_who_activate_the_effect) --{
8e87626fe9 2023-07-16  278:     
8e87626fe9 2023-07-16  279:     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
4e8f89ad97 2023-07-11  280:     , Card.IsAbleToHand
8e87626fe9 2023-07-16  281:     , player_who_activate_the_effect
4e8f89ad97 2023-07-11  282:     , LOCATION_DECK
4e8f89ad97 2023-07-11  283:     , 0
4e8f89ad97 2023-07-11  284:     , str_1
4e8f89ad97 2023-07-11  285:     , str_1
4e8f89ad97 2023-07-11  286:     , nil)
4e8f89ad97 2023-07-11  287:     
4e8f89ad97 2023-07-11  288:     Duel.SendtoHand(str["玩家选定的卡"]
4e8f89ad97 2023-07-11  289:     , nil
4e8f89ad97 2023-07-11  290:     , REASON_RULE)
8e87626fe9 2023-07-16  291:     
e28a9fe965 2023-07-16  292:     effect_event:Reset()
1539e099d7 2023-07-16  293:     
8e87626fe9 2023-07-16  294:     end --}
8e87626fe9 2023-07-16  295:     
6254eda63a 2023-07-23  296:   str["效果"]:SetOperation(cache_1)
8e87626fe9 2023-07-16  297:   
6254eda63a 2023-07-23  298:   Duel.RegisterEffect(str["效果"]
8e87626fe9 2023-07-16  299:   , 0)
17d6844110 2023-07-16  300:   
993a6dbc45 2023-07-13  301:   end --}
993a6dbc45 2023-07-13  302:   
993a6dbc45 2023-07-13  303: fun["禁格"] = function(str_1) --{
993a6dbc45 2023-07-13  304:   
0d5ba0fc61 2023-07-23  305:   str["禁格的数量"] = str_1
6254eda63a 2023-07-23  306:   
6254eda63a 2023-07-23  307:   str["效果"] = Effect.GlobalEffect()
6254eda63a 2023-07-23  308:   
6254eda63a 2023-07-23  309:   str["效果"]:SetCode(EFFECT_USE_EXTRA_MZONE)
6254eda63a 2023-07-23  310:   
6254eda63a 2023-07-23  311:   str["效果"]:SetValue(str_1)
6254eda63a 2023-07-23  312:   
6254eda63a 2023-07-23  313:   Duel.RegisterEffect(str["效果"],0)
993a6dbc45 2023-07-13  314:   
993a6dbc45 2023-07-13  315:   end --}
993a6dbc45 2023-07-13  316:   
993a6dbc45 2023-07-13  317: fun["印卡"] = function(str_1, str_2, str_3) --{
993a6dbc45 2023-07-13  318:   
993a6dbc45 2023-07-13  319:   if str_3 then --{
993a6dbc45 2023-07-13  320:     
993a6dbc45 2023-07-13  321:     --}
993a6dbc45 2023-07-13  322:     
993a6dbc45 2023-07-13  323:   else --{
993a6dbc45 2023-07-13  324:     
d5d0e03305 2023-07-11  325:     str_3 = str_2
45478ef823 2023-07-13  326:     
d5d0e03305 2023-07-11  327:     end --}
993a6dbc45 2023-07-13  328:     
0d5ba0fc61 2023-07-23  329:   Debug.ShowHint("点击对方额外卡组可以进行印卡。\n手卡只能印 "
0d5ba0fc61 2023-07-23  330:   .. str_2
0d5ba0fc61 2023-07-23  331:   .. " 张。\n最多可以印 "
0d5ba0fc61 2023-07-23  332:   .. str_3
0d5ba0fc61 2023-07-23  333:   .. " 张")
6254eda63a 2023-07-23  334:   
6254eda63a 2023-07-23  335:   str["效果"] = Effect.CreateEffect(str_1)
9a1184f29f 2023-07-22  336:   
9a1184f29f 2023-07-22  337:   str["当前印卡数"] = 1
9a1184f29f 2023-07-22  338:   
6254eda63a 2023-07-23  339:   str["效果"]:SetType(EFFECT_TYPE_IGNITION)
9a1184f29f 2023-07-22  340:   
6254eda63a 2023-07-23  341:   str["效果"]:SetProperty(EFFECT_FLAG_BOTH_SIDE
d5d0e03305 2023-07-11  342:   + EFFECT_FLAG_UNCOPYABLE
d5d0e03305 2023-07-11  343:   + EFFECT_FLAG_CANNOT_NEGATE
d5d0e03305 2023-07-11  344:   + EFFECT_FLAG_CANNOT_DISABLE)
d5d0e03305 2023-07-11  345:   
d5d0e03305 2023-07-11  346:   cache_1 = function() --{
993a6dbc45 2023-07-13  347:     
d5d0e03305 2023-07-11  348:     Duel.SetChainLimit(aux.FALSE)
d5d0e03305 2023-07-11  349:     
d5d0e03305 2023-07-11  350:     return true
45478ef823 2023-07-13  351:     
d5d0e03305 2023-07-11  352:     end --}
993a6dbc45 2023-07-13  353:     
6254eda63a 2023-07-23  354:   str["效果"]:SetTarget(cache_1)
d5d0e03305 2023-07-11  355:   
6254eda63a 2023-07-23  356:   str["效果"]:SetRange(LOCATION_EXTRA)
d5d0e03305 2023-07-11  357:   
d5d0e03305 2023-07-11  358:   function print_hand(effect_event
d5d0e03305 2023-07-11  359:   , player_who_activate_the_effect) --{
993a6dbc45 2023-07-13  360:     
d5d0e03305 2023-07-11  361:     announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
d5d0e03305 2023-07-11  362:     
d5d0e03305 2023-07-11  363:     card = Duel.CreateToken(player_who_activate_the_effect
d5d0e03305 2023-07-11  364:     , announce_card)
d5d0e03305 2023-07-11  365:     
d5d0e03305 2023-07-11  366:     if str["当前印卡数"] <= str_2 then --{
993a6dbc45 2023-07-13  367:       
d5d0e03305 2023-07-11  368:       str["当前印卡数"] = str["当前印卡数"] + 1
d5d0e03305 2023-07-11  369:       
d5d0e03305 2023-07-11  370:       Duel.SendtoHand(card,nil,REASON_RULE)
45478ef823 2023-07-13  371:       
d5d0e03305 2023-07-11  372:       --}
993a6dbc45 2023-07-13  373:       
d5d0e03305 2023-07-11  374:     else --{
993a6dbc45 2023-07-13  375:       
d5d0e03305 2023-07-11  376:       if str["当前印卡数"] <= str_3 then --{
993a6dbc45 2023-07-13  377:         
d5d0e03305 2023-07-11  378:         str["当前印卡数"] = str["当前印卡数"] + 1
d5d0e03305 2023-07-11  379:         
d5d0e03305 2023-07-11  380:         Duel.Remove(card,POS_FACEUP,REASON_RULE)
d5d0e03305 2023-07-11  381:         
d5d0e03305 2023-07-11  382:         Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE)
45478ef823 2023-07-13  383:         
d5d0e03305 2023-07-11  384:         --}
993a6dbc45 2023-07-13  385:         
993a6dbc45 2023-07-13  386:       else --{
993a6dbc45 2023-07-13  387:         
27c36deea8 2023-07-23  388:         Debug.ShowHint("印卡过多!")
993a6dbc45 2023-07-13  389:         
a30b9aba5d 2023-07-16  390:         effect_event:Reset()
a30b9aba5d 2023-07-16  391:         
993a6dbc45 2023-07-13  392:         end --}
993a6dbc45 2023-07-13  393:         
993a6dbc45 2023-07-13  394:       end --}
993a6dbc45 2023-07-13  395:       
993a6dbc45 2023-07-13  396:     end --}
993a6dbc45 2023-07-13  397:     
6254eda63a 2023-07-23  398:   str["效果"]:SetOperation(print_hand)
0852ed07b8 2023-07-22  399:   
6254eda63a 2023-07-23  400:   str_1:RegisterEffect(str["效果"])
0852ed07b8 2023-07-22  401:   
0852ed07b8 2023-07-22  402:   end --}
0852ed07b8 2023-07-22  403:   
0852ed07b8 2023-07-22  404: fun["随机抽卡"] = function(str_1) --{
a469e38404 2023-07-22  405:   
0852ed07b8 2023-07-22  406:   str["随机抽卡的数量"] = str_1
63daf9144a 2023-07-22  407:   
6254eda63a 2023-07-23  408:   str["效果"] = Effect.GlobalEffect()
63daf9144a 2023-07-22  409:   
6254eda63a 2023-07-23  410:   str["效果"]:SetType(EFFECT_TYPE_FIELD
63daf9144a 2023-07-22  411:   + EFFECT_TYPE_CONTINUOUS)
63daf9144a 2023-07-22  412:   
6254eda63a 2023-07-23  413:   str["效果"]:SetCode(EVENT_ADJUST)
63daf9144a 2023-07-22  414:   
6254eda63a 2023-07-23  415:   str["效果"]:SetCondition(aux.TRUE)
63daf9144a 2023-07-22  416:   
63daf9144a 2023-07-22  417:   function cache_1(effect_event
63daf9144a 2023-07-22  418:   , player_who_activate_the_effect) --{
a469e38404 2023-07-22  419:     
63daf9144a 2023-07-22  420:     Duel.ShuffleDeck(0)
a469e38404 2023-07-22  421:     
63daf9144a 2023-07-22  422:     Duel.Draw(0,str_1,REASON_RULE)
63daf9144a 2023-07-22  423:     
63daf9144a 2023-07-22  424:     effect_event:Reset()
63daf9144a 2023-07-22  425:     
63daf9144a 2023-07-22  426:     end --}
63daf9144a 2023-07-22  427:     
6254eda63a 2023-07-23  428:   str["效果"]:SetOperation(cache_1)
63daf9144a 2023-07-22  429:   
6254eda63a 2023-07-23  430:   Duel.RegisterEffect(str["效果"]
63daf9144a 2023-07-22  431:   , 0)
a469e38404 2023-07-22  432:   
66a03a682a 2023-07-20  433:   end --}
3aa3657ce7 2023-07-15  434: