Lines of
19.Let's GaGaGa.lua
from check-in 1759c92880
that are changed by the sequence of edits moving toward
check-in e5eefb24fd:
1: --[[message
2: 卡数:28
3: 规则:大师3
4: 一起来我我我
5: ]]
6: Debug.SetAIName("四妹")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
8: Debug.SetPlayerInfo(0,700,0,0)
9: Debug.SetPlayerInfo(1,12200,0,0)
10:
11: Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
12: Debug.AddCard(71453557,0,0,LOCATION_DECK,0,POS_FACEDOWN)
13: Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
14: Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
15: Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
16: Debug.AddCard(81816475,0,0,LOCATION_DECK,0,POS_FACEDOWN)
17: Debug.AddCard(12298909,0,0,LOCATION_DECK,0,POS_FACEDOWN)
18: Debug.AddCard(52105192,0,0,LOCATION_DECK,0,POS_FACEDOWN)
19: Debug.AddCard(98494543,0,0,LOCATION_DECK,0,POS_FACEDOWN)
20: Debug.AddCard(26082117,0,0,LOCATION_GRAVE,0,POS_FACEUP)
21: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
22: Debug.AddCard(77334267,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
23: Debug.AddCard(92661479,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
24: Debug.AddCard(38495396,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
25: Debug.AddCard(91949988,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
26: Debug.AddCard(95040215,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
27: Debug.AddCard(65878864,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)
28: Debug.AddCard(61705417,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
29: Debug.AddCard(97077563,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
30: Debug.AddCard(44330098,1,1,LOCATION_HAND,0,POS_FACEDOWN)
31: Debug.AddCard(75652080,1,1,LOCATION_GRAVE,0,POS_FACEUP)
32: Debug.AddCard(34710660,1,1,LOCATION_GRAVE,0,POS_FACEUP)
33: Debug.AddCard(80117527,1,1,LOCATION_GRAVE,0,POS_FACEUP,true)
34: Debug.AddCard(1992816,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
35: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
36: local g1=Debug.AddCard(66235877,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
37: g1:CompleteProcedure()
38: Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
39: Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
40: Debug.AddCard(44095762,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
41: Debug.ReloadFieldEnd()
42: aux.BeginPuzzle()
43:
44: local str = {}
45: local fun = {}
46:
47: local cache_1
48: local cache_2
49:
50: fun["通关邀请"] = function()
51: local effect_1
52: effect_1 = Effect.GlobalEffect()
53: effect_1:SetType(EFFECT_TYPE_FIELD
54: + EFFECT_TYPE_CONTINUOUS)
55: effect_1:SetCode(EVENT_DAMAGE)
56: function cache_1()
57: cache_1 = Duel.GetLP(1)
58: if cache_1 <= 0 then
59: cache_1 = true
60: else
61: cache_1 = false
62: end
63: return cache_1
64: end
65: effect_1:SetCondition(cache_1)
66: function cache_1()
67: Debug.ShowHint("残局群181175613")
68: return
69: end
70: effect_1:SetOperation(cache_1)
71: Duel.RegisterEffect(effect_1
72: , 0)
73: end
74:
75: fun["开局添加手卡"] = function(str_1)
76: local effect_1
1759c92880 2023-06-26 77: effect_1 = Effect.GlobalEffect()
78: effect_1:SetType(EFFECT_TYPE_FIELD
79: + EFFECT_TYPE_CONTINUOUS)
80: effect_1:SetCode(EVENT_ADJUST)
81: effect_1:SetCountLimit(1)
82: function cache_1()
83: return true
84: end
85: effect_1:SetCondition(cache_1)
86: function cache_1(effect_event
87: , player_who_activate_the_effect)
88: str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
89: , Card.IsAbleToHand
90: , player_who_activate_the_effect
91: , LOCATION_DECK
92: , 0
93: , str_1
94: , str_1
95: , nil)
96: Duel.SendtoHand(str["玩家选定的卡"]
97: , nil
98: , REASON_RULE)
99: end
100: effect_1:SetOperation(cache_1)
101: Duel.RegisterEffect(effect_1
102: , 0)
103: end
104:
105: fun["通关邀请"]()
1759c92880 2023-06-26 106: fun["开局添加手卡"](6)
107: