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