游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

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

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