游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

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

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