Debug.SetAIName("pkd-01_衍生版_01")

Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)

Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,20000,0,0)

-----------------

Debug.AddCard(5560911,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(9742784,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(71645242,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(87979586,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(87979586,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(87979586,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(21615956,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(64034255,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(48770333,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(28674152,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(75732622,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(11163040,0,0,LOCATION_HAND,0,POS_FACEDOWN)

-----------------

Debug.AddCard(34408491,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(33698022,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(73580471,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(50321796,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(53325667,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(37675907,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(81846453,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(44405066,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(52119435,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(99111753,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(28776350,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(98978921,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(98095162,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(41999284,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)

-----------------


-----------------


-----------------


-----------------

local c = Debug.AddCard(42632209,1,1,LOCATION_MZONE,6,POS_FACEUP_ATTACK)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(1)
c:RegisterEffect(e1)

Debug.ReloadFieldEnd()
aux.BeginPuzzle()
