1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
+
+
+
-
+
|
--[[message
卡数:21
规则:大师3
]]
--created by ygopro puzzle maker
Debug.SetAIName("花妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,666,0,0)
Debug.SetPlayerInfo(1,23333,0,0)
local e0=Effect.GlobalEffect()
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetCountLimit(1)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,5,5,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASONDECKE)
end end)
Duel.RegisterEffect(e0,0)
--my hand
Debug.AddCard(31036355,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(28741524,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(02295440,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(31036355,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(28741524,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(51790181,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(19163116,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(19163116,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
--my deck
Debug.AddCard(50457953,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(02295440,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(61632317,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
Debug.AddCard(61632317,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
--my grave
Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(90411554,0,0,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
Debug.AddCard(58695102,0,0,LOCATION_GRAVE,2,POS_FACEUP_ATTACK)
Debug.AddCard(71692913,0,0,LOCATION_GRAVE,3,POS_FACEUP_ATTACK)
Debug.AddCard(21615956,0,0,LOCATION_GRAVE,4,POS_FACEUP_ATTACK)
|