游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

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

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