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