游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

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

eeeff3c24b 2023-07-15  顽雨沉风: 
e59d27b43b 2023-07-17  顽雨沉风: local str = {}
e59d27b43b 2023-07-17  顽雨沉风: 
e59d27b43b 2023-07-17  顽雨沉风: local cache_1
e59d27b43b 2023-07-17  顽雨沉风: local cache_2
e59d27b43b 2023-07-17  顽雨沉风: local cache_3
e59d27b43b 2023-07-17  顽雨沉风: local cache_4
e59d27b43b 2023-07-17  顽雨沉风: local cache_5
27cb01cd8e 2023-07-17  顽雨沉风: local cache_6
27cb01cd8e 2023-07-17  顽雨沉风: local cache_7
27cb01cd8e 2023-07-17  顽雨沉风: local cache_8
27cb01cd8e 2023-07-17  顽雨沉风: local cache_9
27cb01cd8e 2023-07-17  顽雨沉风: 
cea99f0284 2023-07-19  顽雨沉风: local i
cea99f0284 2023-07-19  顽雨沉风: 
41aff3cc3d 2023-07-17  顽雨沉风: _G.fun = {}
cea99f0284 2023-07-19  顽雨沉风: 
1270346ecf 2023-07-19  顽雨沉风: ---------------------------------
1270346ecf 2023-07-19  顽雨沉风: 
8dbe277f54 2023-07-19  顽雨沉风: str["二解弹窗"] = "QB:「你居然二解了,请加群告诉我怎么二解。」"
8dbe277f54 2023-07-19  顽雨沉风: str["原解弹窗"] = "残局群181175613"
ba86300fd5 2023-07-19  顽雨沉风: 
cd474d87a3 2023-07-19  顽雨沉风: str["规则"] = ""
4c397fafe9 2023-07-19  顽雨沉风: 
626009b1d8 2023-07-19  顽雨沉风: str["规则表"] = {}
626009b1d8 2023-07-19  顽雨沉风: str["规则表"][3] = "大师3 "
626009b1d8 2023-07-19  顽雨沉风: str["规则表"][4] = "新大师 "
626009b1d8 2023-07-19  顽雨沉风: str["规则表"][5] = "大师2020 "
4c397fafe9 2023-07-19  顽雨沉风: 
4c397fafe9 2023-07-19  顽雨沉风: str["当前印卡数"] = 1
4c397fafe9 2023-07-19  顽雨沉风: 
4c397fafe9 2023-07-19  顽雨沉风: str["印卡过多的弹窗"] = "印卡过多!"
0833432c67 2023-07-20  顽雨沉风: 
d45a60a6fc 2023-07-20  顽雨沉风: str["印卡弹窗1"] = "点击对方额外卡组可以进行印卡。\n手卡只能印 "
d45a60a6fc 2023-07-20  顽雨沉风: str["印卡弹窗2"] = " 张。\n最多可以印 "
d45a60a6fc 2023-07-20  顽雨沉风: str["印卡弹窗3"] = " 张"
262ab836d0 2023-07-19  顽雨沉风: 
262ab836d0 2023-07-19  顽雨沉风: str["不洗牌"] = false
262ab836d0 2023-07-19  顽雨沉风: str["无BP"] = false
d16316bada 2023-07-19  顽雨沉风: 
d284579690 2023-07-19  顽雨沉风: str["不洗牌的说明"] = "伪洗牌 "
d284579690 2023-07-19  顽雨沉风: str["无BP的说明"] = "无BP "
1270346ecf 2023-07-19  顽雨沉风: 
8d2bb28b18 2023-07-19  顽雨沉风: str["开局说明"] = false
1270346ecf 2023-07-19  顽雨沉风: 
1270346ecf 2023-07-19  顽雨沉风: str["这个残局的效果卡数量"] = 0
1270346ecf 2023-07-19  顽雨沉风: str["效果卡数量的后缀"] = "卡 "
d16316bada 2023-07-19  顽雨沉风: 
d284579690 2023-07-19  顽雨沉风: str["开局添加手卡"] = false
d284579690 2023-07-19  顽雨沉风: str["选卡的前缀"] = "选"
d284579690 2023-07-19  顽雨沉风: str["选卡的后缀"] = "卡 "
d16316bada 2023-07-19  顽雨沉风: 
951422472a 2023-07-19  顽雨沉风: str["禁格"] = false
951422472a 2023-07-19  顽雨沉风: str["禁格的前缀"] = "禁"
951422472a 2023-07-19  顽雨沉风: str["禁格的后缀"] = "格 "
cea99f0284 2023-07-19  顽雨沉风: 
cea99f0284 2023-07-19  顽雨沉风: str["效果卡的种类表"] = {}
cea99f0284 2023-07-19  顽雨沉风: 
cea99f0284 2023-07-19  顽雨沉风: str["效果卡的种类表"][1] = TYPE_SPELL
cea99f0284 2023-07-19  顽雨沉风: str["效果卡的种类表"][2] = TYPE_TRAP
cea99f0284 2023-07-19  顽雨沉风: str["效果卡的种类表"][3] = TYPE_EFFECT
15a06aae93 2023-07-19  顽雨沉风: 
15a06aae93 2023-07-19  顽雨沉风: str["无效果灵摆怪兽表"] = {}
15a06aae93 2023-07-19  顽雨沉风: 
15a06aae93 2023-07-19  顽雨沉风: str["无效果灵摆怪兽表"][1] = 28363749
15a06aae93 2023-07-19  顽雨沉风: str["无效果灵摆怪兽表"][2] = 19474136
15a06aae93 2023-07-19  顽雨沉风: str["无效果灵摆怪兽表"][3] = 17390179
15a06aae93 2023-07-19  顽雨沉风: str["无效果灵摆怪兽表"][4] = 83980492
262ab836d0 2023-07-19  顽雨沉风: 
262ab836d0 2023-07-19  顽雨沉风: cache_1 = 0
262ab836d0 2023-07-19  顽雨沉风: 
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_HAND
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_MZONE
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_SZONE
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_GRAVE
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_REMOVED
262ab836d0 2023-07-19  顽雨沉风: 
262ab836d0 2023-07-19  顽雨沉风: str["除卡组与额外卡组以外的区域"] = cache_1
262ab836d0 2023-07-19  顽雨沉风: 
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_DECK
262ab836d0 2023-07-19  顽雨沉风: cache_1 = cache_1 + LOCATION_EXTRA
262ab836d0 2023-07-19  顽雨沉风: 
262ab836d0 2023-07-19  顽雨沉风: str["所有区域"] = cache_1
262ab836d0 2023-07-19  顽雨沉风: 
1270346ecf 2023-07-19  顽雨沉风: ---------------------------------
1270346ecf 2023-07-19  顽雨沉风: 
ad797768a6 2023-07-14  顽雨沉风: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
8736d64183 2023-07-11  顽雨沉风: 
8736d64183 2023-07-11  顽雨沉风: Debug.ReloadFieldBegin = function(str_1, str_2) --{
993a6dbc45 2023-07-13  顽雨沉风:   
8736d64183 2023-07-11  顽雨沉风:   str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
8736d64183 2023-07-11  顽雨沉风:   
8736d64183 2023-07-11  顽雨沉风:   str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
1fb42895ff 2023-07-11  顽雨沉风:   
8736d64183 2023-07-11  顽雨沉风:   if str_2 then --{
993a6dbc45 2023-07-13  顽雨沉风:     
626009b1d8 2023-07-19  顽雨沉风:     str["规则"] = str["规则表"][str_2]
626009b1d8 2023-07-19  顽雨沉风:     
626009b1d8 2023-07-19  顽雨沉风:     --}
993a6dbc45 2023-07-13  顽雨沉风:     
8736d64183 2023-07-11  顽雨沉风:   else --{
993a6dbc45 2023-07-13  顽雨沉风:     
626009b1d8 2023-07-19  顽雨沉风:     str["规则"] = str["规则表"][5]
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
ad797768a6 2023-07-14  顽雨沉风:   fun["Debug.ReloadFieldBegin"](str_1, str_2)
7b13e3e7c3 2023-07-16  顽雨沉风:   
7b13e3e7c3 2023-07-16  顽雨沉风:   end --}
7b13e3e7c3 2023-07-16  顽雨沉风:   
7b13e3e7c3 2023-07-16  顽雨沉风: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
7b13e3e7c3 2023-07-16  顽雨沉风: 
02cee86a5d 2023-07-16  顽雨沉风: aux.BeginPuzzle = function() --{
c1424b8fad 2023-07-16  顽雨沉风:   
02cee86a5d 2023-07-16  顽雨沉风:   fun["aux.BeginPuzzle"]()
c1424b8fad 2023-07-16  顽雨沉风:   
02cee86a5d 2023-07-16  顽雨沉风:   fun["开局说明"]()
c1424b8fad 2023-07-16  顽雨沉风:   
cd5279993d 2023-07-16  顽雨沉风:   fun["通关邀请"]()
c1424b8fad 2023-07-16  顽雨沉风:   
02cee86a5d 2023-07-16  顽雨沉风:   end --}
c1424b8fad 2023-07-16  顽雨沉风:   
bd740b7cb0 2023-07-11  顽雨沉风: fun["通关邀请"] = function() --{
993a6dbc45 2023-07-13  顽雨沉风:   
8736d64183 2023-07-11  顽雨沉风:   effect_1 = Effect.GlobalEffect()
8736d64183 2023-07-11  顽雨沉风:   
8736d64183 2023-07-11  顽雨沉风:   effect_1:SetType(EFFECT_TYPE_FIELD
8736d64183 2023-07-11  顽雨沉风:   + EFFECT_TYPE_CONTINUOUS)
8736d64183 2023-07-11  顽雨沉风:   
8736d64183 2023-07-11  顽雨沉风:   effect_1:SetCode(EVENT_DAMAGE)
1fb42895ff 2023-07-11  顽雨沉风:   
1fb42895ff 2023-07-11  顽雨沉风:   function cache_1() --{
993a6dbc45 2023-07-13  顽雨沉风:     
1fb42895ff 2023-07-11  顽雨沉风:     cache_1 = Duel.GetLP(1)
1fb42895ff 2023-07-11  顽雨沉风:     
1fb42895ff 2023-07-11  顽雨沉风:     if cache_1 <= 0 then --{
993a6dbc45 2023-07-13  顽雨沉风:       
5593fe6ed7 2023-07-17  顽雨沉风:       if cache_1 == 0 then --{
5593fe6ed7 2023-07-17  顽雨沉风:         
ea070909e1 2023-07-18  顽雨沉风:         --}
ea070909e1 2023-07-18  顽雨沉风:         
ea070909e1 2023-07-18  顽雨沉风:       else  --{
ea070909e1 2023-07-18  顽雨沉风:         
ea070909e1 2023-07-18  顽雨沉风:         Debug.ShowHint(str["二解弹窗"])
334f2bc614 2023-07-18  顽雨沉风:         
334f2bc614 2023-07-18  顽雨沉风:         end --}
334f2bc614 2023-07-18  顽雨沉风:         
ea070909e1 2023-07-18  顽雨沉风:       Debug.ShowHint(str["原解弹窗"])
45478ef823 2023-07-13  顽雨沉风:       
7c21defa68 2023-07-13  顽雨沉风:       --}
993a6dbc45 2023-07-13  顽雨沉风:       
7c21defa68 2023-07-13  顽雨沉风:     else --{
993a6dbc45 2023-07-13  顽雨沉风:       
24b898f4c2 2023-07-16  顽雨沉风:       return false
45478ef823 2023-07-13  顽雨沉风:       
7c21defa68 2023-07-13  顽雨沉风:       end --}
993a6dbc45 2023-07-13  顽雨沉风:       
7c21defa68 2023-07-13  顽雨沉风:     end --}
45478ef823 2023-07-13  顽雨沉风:     
1fb42895ff 2023-07-11  顽雨沉风:   effect_1:SetCondition(cache_1)
1fb42895ff 2023-07-11  顽雨沉风:   
975214d28e 2023-07-16  顽雨沉风:   effect_1:SetOperation(aux.NULL)
1fb42895ff 2023-07-11  顽雨沉风:   
1fb42895ff 2023-07-11  顽雨沉风:   Duel.RegisterEffect(effect_1
1fb42895ff 2023-07-11  顽雨沉风:   , 0)
45478ef823 2023-07-13  顽雨沉风:   
ebd8dd9982 2023-07-11  顽雨沉风:   end --}
993a6dbc45 2023-07-13  顽雨沉风:   
ebd8dd9982 2023-07-11  顽雨沉风: fun["是否效果卡"] = function(card) --{
add769c64d 2023-07-19  顽雨沉风:   
add769c64d 2023-07-19  顽雨沉风:   cache_1 = #str["效果卡的种类表"]
add769c64d 2023-07-19  顽雨沉风:   
add769c64d 2023-07-19  顽雨沉风:   for i = 1, cache_1 do --{
add769c64d 2023-07-19  顽雨沉风:     
add769c64d 2023-07-19  顽雨沉风:     cache_1 = Card.IsType(card, str["效果卡的种类表"][i])
add769c64d 2023-07-19  顽雨沉风:     
add769c64d 2023-07-19  顽雨沉风:     if cache_1 then --{
add769c64d 2023-07-19  顽雨沉风:       
add769c64d 2023-07-19  顽雨沉风:       return true
add769c64d 2023-07-19  顽雨沉风:       end --}
add769c64d 2023-07-19  顽雨沉风:       
ebd8dd9982 2023-07-11  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
ebd8dd9982 2023-07-11  顽雨沉风:   cache_1 = Card.IsType(card, TYPE_PENDULUM)
ebd8dd9982 2023-07-11  顽雨沉风:   
ebd8dd9982 2023-07-11  顽雨沉风:   if cache_1 then --{
993a6dbc45 2023-07-13  顽雨沉风:     
15a06aae93 2023-07-19  顽雨沉风:     cache_1 = #str["无效果灵摆怪兽表"]
15a06aae93 2023-07-19  顽雨沉风:     
15a06aae93 2023-07-19  顽雨沉风:     for i = 1, cache_1 do --{
15a06aae93 2023-07-19  顽雨沉风:       
15a06aae93 2023-07-19  顽雨沉风:       cache_1 = Card.IsCode(card, str["无效果灵摆怪兽表"][i])
15a06aae93 2023-07-19  顽雨沉风:       
15a06aae93 2023-07-19  顽雨沉风:       if cache_1 then --{
15a06aae93 2023-07-19  顽雨沉风:         
15a06aae93 2023-07-19  顽雨沉风:         --}
15a06aae93 2023-07-19  顽雨沉风:         
15a06aae93 2023-07-19  顽雨沉风:       else  --{
15a06aae93 2023-07-19  顽雨沉风:         
15a06aae93 2023-07-19  顽雨沉风:         return true
15a06aae93 2023-07-19  顽雨沉风:         
15a06aae93 2023-07-19  顽雨沉风:         end --}
15a06aae93 2023-07-19  顽雨沉风:         
993a6dbc45 2023-07-13  顽雨沉风:       end --}
993a6dbc45 2023-07-13  顽雨沉风:       
993a6dbc45 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
7c21defa68 2023-07-13  顽雨沉风:   return false
45478ef823 2023-07-13  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   end --}
45478ef823 2023-07-13  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风: fun["开局说明"] = function() --{
993a6dbc45 2023-07-13  顽雨沉风:   
262ab836d0 2023-07-19  顽雨沉风:   str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,str["所有区域"],str["所有区域"],nil)
45478ef823 2023-07-13  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   cache_1 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
45478ef823 2023-07-13  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   for k in aux.Next(cache_1) do --{
993a6dbc45 2023-07-13  顽雨沉风:     
45478ef823 2023-07-13  顽雨沉风:     cache_1 = fun["是否效果卡"](k)
45478ef823 2023-07-13  顽雨沉风:     
45478ef823 2023-07-13  顽雨沉风:     if cache_1 then --{
993a6dbc45 2023-07-13  顽雨沉风:       
45478ef823 2023-07-13  顽雨沉风:       str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
45478ef823 2023-07-13  顽雨沉风:       
45478ef823 2023-07-13  顽雨沉风:       end --}
993a6dbc45 2023-07-13  顽雨沉风:       
45478ef823 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
8d2bb28b18 2023-07-19  顽雨沉风:   str["开局说明"] = ""
6bc1a4dce2 2023-07-19  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]
cd474d87a3 2023-07-19  顽雨沉风:   str["开局说明"] = str["开局说明"] .. str["效果卡数量的后缀"]
cd474d87a3 2023-07-19  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   str["开局说明"] = str["开局说明"] .. str["规则"]
45478ef823 2023-07-13  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   if str["不洗牌"] == 0 then --{
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:     --}
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:   else --{
993a6dbc45 2023-07-13  顽雨沉风:     
d284579690 2023-07-19  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["不洗牌的说明"]
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:   if str["无BP"] == 0 then --{
993a6dbc45 2023-07-13  顽雨沉风:     
d284579690 2023-07-19  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["无BP的说明"]
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:   if str["开局添加手卡"] then --{
993a6dbc45 2023-07-13  顽雨沉风:     
d284579690 2023-07-19  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["选卡的前缀"]
993a6dbc45 2023-07-13  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["开局添加手卡"]
d284579690 2023-07-19  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["选卡的后缀"]
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:   if str["禁格"] then --{
993a6dbc45 2023-07-13  顽雨沉风:     
951422472a 2023-07-19  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["禁格的前缀"]
993a6dbc45 2023-07-13  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["禁格"]
951422472a 2023-07-19  顽雨沉风:     str["开局说明"] = str["开局说明"] .. str["禁格的后缀"]
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
993a6dbc45 2023-07-13  顽雨沉风:   Debug.ShowHint(str["开局说明"])
993a6dbc45 2023-07-13  顽雨沉风:   
993a6dbc45 2023-07-13  顽雨沉风:   end --}
993a6dbc45 2023-07-13  顽雨沉风:   
993a6dbc45 2023-07-13  顽雨沉风: fun["开局添加手卡"] = function(str_1) --{
993a6dbc45 2023-07-13  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   str["开局添加手卡"] = str_1
4e8f89ad97 2023-07-11  顽雨沉风:   
8e87626fe9 2023-07-16  顽雨沉风:   effect_1 = Effect.GlobalEffect()
8e87626fe9 2023-07-16  顽雨沉风:   
e8a4eb1d6e 2023-07-16  顽雨沉风:   effect_1:SetType(EFFECT_TYPE_FIELD
e8a4eb1d6e 2023-07-16  顽雨沉风:   + EFFECT_TYPE_CONTINUOUS)
b08e3d3ba8 2023-07-16  顽雨沉风:   
1539e099d7 2023-07-16  顽雨沉风:   effect_1:SetCode(EVENT_ADJUST)
1539e099d7 2023-07-16  顽雨沉风:   
88b2475c84 2023-07-16  顽雨沉风:   effect_1:SetCondition(aux.TRUE)
8e87626fe9 2023-07-16  顽雨沉风:   
8e87626fe9 2023-07-16  顽雨沉风:   function cache_1(effect_event
8e87626fe9 2023-07-16  顽雨沉风:   , player_who_activate_the_effect) --{
8e87626fe9 2023-07-16  顽雨沉风:     
8e87626fe9 2023-07-16  顽雨沉风:     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
4e8f89ad97 2023-07-11  顽雨沉风:     , Card.IsAbleToHand
8e87626fe9 2023-07-16  顽雨沉风:     , player_who_activate_the_effect
4e8f89ad97 2023-07-11  顽雨沉风:     , LOCATION_DECK
4e8f89ad97 2023-07-11  顽雨沉风:     , 0
4e8f89ad97 2023-07-11  顽雨沉风:     , str_1
4e8f89ad97 2023-07-11  顽雨沉风:     , str_1
4e8f89ad97 2023-07-11  顽雨沉风:     , nil)
4e8f89ad97 2023-07-11  顽雨沉风:     
4e8f89ad97 2023-07-11  顽雨沉风:     Duel.SendtoHand(str["玩家选定的卡"]
4e8f89ad97 2023-07-11  顽雨沉风:     , nil
4e8f89ad97 2023-07-11  顽雨沉风:     , REASON_RULE)
8e87626fe9 2023-07-16  顽雨沉风:     
e28a9fe965 2023-07-16  顽雨沉风:     effect_event:Reset()
1539e099d7 2023-07-16  顽雨沉风:     
8e87626fe9 2023-07-16  顽雨沉风:     end --}
8e87626fe9 2023-07-16  顽雨沉风:     
8e87626fe9 2023-07-16  顽雨沉风:   effect_1:SetOperation(cache_1)
8e87626fe9 2023-07-16  顽雨沉风:   
8e87626fe9 2023-07-16  顽雨沉风:   Duel.RegisterEffect(effect_1
8e87626fe9 2023-07-16  顽雨沉风:   , 0)
17d6844110 2023-07-16  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   end --}
993a6dbc45 2023-07-13  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风: fun["禁格"] = function(str_1) --{
993a6dbc45 2023-07-13  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   str["禁格"] = str_1
4e8f89ad97 2023-07-11  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   effect_1 = Effect.GlobalEffect()
4e8f89ad97 2023-07-11  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   effect_1:SetCode(EFFECT_USE_EXTRA_MZONE)
4e8f89ad97 2023-07-11  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   effect_1:SetValue(str_1)
4e8f89ad97 2023-07-11  顽雨沉风:   
4e8f89ad97 2023-07-11  顽雨沉风:   Duel.RegisterEffect(effect_1,0)
45478ef823 2023-07-13  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   end --}
993a6dbc45 2023-07-13  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风: fun["印卡"] = function(str_1, str_2, str_3) --{
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   if str_3 then --{
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     --}
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:   else --{
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     str_3 = str_2
45478ef823 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
1d7748bbd7 2023-07-20  顽雨沉风:   str["印卡弹窗1"] = str["印卡弹窗1"] .. str_2
1d7748bbd7 2023-07-20  顽雨沉风:   str["印卡弹窗1"] = str["印卡弹窗1"] .. str["印卡弹窗2"]
1d7748bbd7 2023-07-20  顽雨沉风:   str["印卡弹窗1"] = str["印卡弹窗1"] .. str_3
1d7748bbd7 2023-07-20  顽雨沉风:   str["印卡弹窗1"] = str["印卡弹窗1"] .. str["印卡弹窗3"]
1d7748bbd7 2023-07-20  顽雨沉风:   
1d7748bbd7 2023-07-20  顽雨沉风:   Debug.ShowHint(str["印卡弹窗1"])
1d7748bbd7 2023-07-20  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   effect_1 = Effect.CreateEffect(str_1)
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   effect_1:SetType(EFFECT_TYPE_IGNITION)
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   effect_1:SetProperty(EFFECT_FLAG_BOTH_SIDE
d5d0e03305 2023-07-11  顽雨沉风:   + EFFECT_FLAG_UNCOPYABLE
d5d0e03305 2023-07-11  顽雨沉风:   + EFFECT_FLAG_CANNOT_NEGATE
d5d0e03305 2023-07-11  顽雨沉风:   + EFFECT_FLAG_CANNOT_DISABLE)
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   cache_1 = function() --{
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     Duel.SetChainLimit(aux.FALSE)
d5d0e03305 2023-07-11  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     return true
45478ef823 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:   effect_1:SetTarget(cache_1)
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   effect_1:SetRange(LOCATION_EXTRA)
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   function print_hand(effect_event
d5d0e03305 2023-07-11  顽雨沉风:   , player_who_activate_the_effect) --{
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
d5d0e03305 2023-07-11  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     card = Duel.CreateToken(player_who_activate_the_effect
d5d0e03305 2023-07-11  顽雨沉风:     , announce_card)
d5d0e03305 2023-07-11  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:     if str["当前印卡数"] <= str_2 then --{
993a6dbc45 2023-07-13  顽雨沉风:       
d5d0e03305 2023-07-11  顽雨沉风:       str["当前印卡数"] = str["当前印卡数"] + 1
d5d0e03305 2023-07-11  顽雨沉风:       
d5d0e03305 2023-07-11  顽雨沉风:       Duel.SendtoHand(card,nil,REASON_RULE)
45478ef823 2023-07-13  顽雨沉风:       
d5d0e03305 2023-07-11  顽雨沉风:       --}
993a6dbc45 2023-07-13  顽雨沉风:       
d5d0e03305 2023-07-11  顽雨沉风:     else --{
993a6dbc45 2023-07-13  顽雨沉风:       
d5d0e03305 2023-07-11  顽雨沉风:       if str["当前印卡数"] <= str_3 then --{
993a6dbc45 2023-07-13  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:         str["当前印卡数"] = str["当前印卡数"] + 1
d5d0e03305 2023-07-11  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:         Duel.Remove(card,POS_FACEUP,REASON_RULE)
d5d0e03305 2023-07-11  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:         Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE)
45478ef823 2023-07-13  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:         --}
993a6dbc45 2023-07-13  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:       else --{
993a6dbc45 2023-07-13  顽雨沉风:         
4c397fafe9 2023-07-19  顽雨沉风:         Debug.ShowHint(str["印卡过多的弹窗"])
a30b9aba5d 2023-07-16  顽雨沉风:         
a30b9aba5d 2023-07-16  顽雨沉风:         effect_event:Reset()
45478ef823 2023-07-13  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:         end --}
993a6dbc45 2023-07-13  顽雨沉风:         
d5d0e03305 2023-07-11  顽雨沉风:       end --}
993a6dbc45 2023-07-13  顽雨沉风:       
d5d0e03305 2023-07-11  顽雨沉风:     end --}
993a6dbc45 2023-07-13  顽雨沉风:     
d5d0e03305 2023-07-11  顽雨沉风:   effect_1:SetOperation(print_hand)
d5d0e03305 2023-07-11  顽雨沉风:   
d5d0e03305 2023-07-11  顽雨沉风:   str_1:RegisterEffect(effect_1)
45478ef823 2023-07-13  顽雨沉风:   
45478ef823 2023-07-13  顽雨沉风:   end --}
a28dbc1e51 2023-07-20  顽雨沉风:   
a28dbc1e51 2023-07-20  顽雨沉风: 
3aa3657ce7 2023-07-15  顽雨沉风: