1: --[[message
9948852a37 2023-06-05 2: 卡数:
3: 规则:大师2020
4: This Puzzle is made by 闪光的白日梦 and optimized by Eroldin.
5: ]]
6:
7: Debug.SetAIName("闪光的白日梦")
8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
9: Debug.SetPlayerInfo(0,1100,0,0)
10: Debug.SetPlayerInfo(1,12900,0,0)
11:
12: Debug.AddCard(40110009,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
13: Debug.AddCard(78625592,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
14: Debug.AddCard(42055234,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
15: Debug.AddCard(49575521,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
16: Debug.AddCard(32600024,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
17: Debug.AddCard(15848542,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
18: Debug.AddCard(24799107,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
19: Debug.AddCard(41232647,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
20: Debug.AddCard(14625090,0,0,LOCATION_SZONE,0,POS_FACEUP_ATTACK)
21: Debug.AddCard(11741041,0,0,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
22: Debug.AddCard(62256492,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
23: Debug.AddCard(62256492,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
24: Debug.AddCard(77515704,0,0,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
25: Debug.AddCard(56051086,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
26: Debug.AddCard(40398073,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
27: --~ Debug.AddCard(69196160,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
28: Debug.AddCard(76782778,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
29: Debug.AddCard(13171876,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
30: Debug.AddCard(80161395,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
31: Debug.AddCard(44095762,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
32: Debug.AddCard(99267151,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
33: Debug.AddCard(86780027,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
34:
35: Debug.AddCard(50913601,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
36: Debug.AddCard(54250060,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
37: Debug.AddCard(99267151,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
38: Debug.AddCard(99267151,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
39: Debug.AddCard(77910045,1,1,LOCATION_SZONE,4,POS_FACEUP_ATTACK)
40: Debug.AddCard(10669138,1,1,LOCATION_MZONE,6,POS_FACEUP_ATTACK)
41: Debug.ReloadFieldEnd()
42: aux.BeginPuzzle()
43:
44:
45:
46: local str = {}
47: local fun = {}
48:
49: local cache1
50:
51: fun["通关邀请"]=function()
52: local effect_100
53: effect_100 = Effect.GlobalEffect()
54: effect_100:SetType(EFFECT_TYPE_FIELD
55: + EFFECT_TYPE_CONTINUOUS)
56: effect_100:SetCode(EVENT_DAMAGE)
57: function cache_1(effect_event
58: , player_who_activate_the_effect
59: , card_gruop_for_effect
60: , player_for_effect_event
61: , value_for_effect
62: , effect_for_trigger
63: , reason_for_trigger
64: , player_who_trigger)
65:
66: cache_1 = Duel.GetLP(1)
67:
68: return cache_1 <= 0
69: end
70: effect_100:SetCondition(cache_1)
71: function cache_1(effect_event
72: , player_who_activate_the_effect
73: , card_gruop_for_effect
74: , player_for_effect_event
75: , value_for_effect
76: , effect_for_trigger
77: , reason_for_trigger
78: , player_who_trigger)
79: Debug.ShowHint("残局群181175613")
80: return
81: end
82: effect_100:SetOperation(cache_1)
83: Duel.RegisterEffect(effect_100
84: , 0)
85: end
86:
87:
88: fun["通关邀请"]()
89: