Commit 2448ba63 authored by wyykak's avatar wyykak

update chronicle

parent 5744aac9
Pipeline #5975 canceled with stages
in 7 minutes and 17 seconds
--Chronicle Utilities
--by wyykak
local cc=13959970
local this=_G["c"..cc]
c13959997={}
Duel.LoadScript("c13959997.lua")
local tpu=c13959997
function this.error(deckname,card,reason)
Debug.Message(string.format("卡组%s中的卡片%d非法:%s",deckname,card,reason))
end
function this.loadDeck(fname,strict)
local result={}
local mct=0
local ect=0
local at={}
local f=io.open(fname,"r")
if not f then
this.error(fname,-1,"卡组文件不存在")
return
end
for l in f:lines() do
if l:sub(1,1)=="!" then
break
end
if l:sub(1,1)~="#" and tonumber(l) then
local tcc=math.floor(tonumber(l))
if tcc<10000 or tcc>99999999 then
this.error(fname,tcc,"卡号范围非法")
if strict then f:close() return end
elseif not Duel.ReadCard(tcc,CARDDATA_TYPE) then
this.error(fname,tcc,"卡片不存在")
if strict then f:close() return end
elseif Duel.ReadCard(tcc,CARDDATA_TYPE)&TYPE_TOKEN~=0 then
this.error(fname,tcc,"卡片是衍生物")
if strict then f:close() return end
else
if not result[tcc] then
result[tcc]=0
end
result[tcc]=result[tcc]+1
if Duel.ReadCard(tcc,CARDDATA_TYPE)&(TYPE_FUSION|TYPE_SYNCHRO|TYPE_XYZ|TYPE_LINK)~=0 then
ect=ect+1
else
mct=mct+1
end
local ca=Duel.ReadCard(tcc,CARDDATA_ALIAS)
local real=0
if ca==0 then
real=tcc
else
real=ca
end
if not at[real] then
at[real]=0
end
at[real]=at[real]+1
if at[real]>3 then
this.error(fname,real,"同名卡超过3张")
if strict then f:close() return end
end
end
end
end
if mct>60 or mct<40 then
this.error(fname,-1,"主卡组数量错误")
if strict then f:close() return end
end
if ect>15 then
this.error(fname,-1,"额外卡组数量错误")
if strict then f:close() return end
end
f:close()
return result,mct,ect
end
function this.loadNumSeq(s)
local result={}
for i=1,#s do
result[#result+1]=tonumber(s:sub(i,i))
end
return result
end
function this.loadDeckList(dlCode)
if not _G["c"..dlCode] then
_G["c"..dlCode]={}
Duel.LoadScript("c"..dlCode..".lua")
end
local dl=_G["c"..dlCode].deckList
local decks={}
for i=1,#dl//2 do
local cardList=tpu.toList(tpu.loadSet(dl[2*i-1]))
local numList=this.loadNumSeq(dl[2*i])
local deck={}
for j=1,#cardList do
deck[cardList[j]]=numList[j]
end
decks[#decks+1]=deck
end
return decks
end
\ No newline at end of file
--Chronicle Deck List
--Generated by 13959971
local cc=13959972
local this=_G["c"..cc]
this.deckList={
"10222015G4386013G6001001A9H29669359H35261759H50218540H65031015E40001A2A3A4A5A6A7A8G7169062F616300G9840739H73468603F628505H81033002E47006H9300513F7803170G8380593H",
"12322223333322132221123122",
"10700030G4558128G7061200H23434538G4224830G7204311H33400474C501A2A3A4A5A6A7A8A9B10A1A2A3A4A5A6A7A8A9B20A4A6B51A2A5A6D1316H65681983H77707057C703H",
"1312211313111331211112121111111133131",
"12009046G4000303A4E10147C242H22200161E30161G3434538G4224830G7204311H33198837F330402E40002H4212325F7530133H50588353G7346400H62587693G5020142A3A4A5A6A7B50A1A2A3E71110G8987122H72499010G4937659G6218313G7707701A3H81048021G3152482H",
"2131131311111111113312211133112111111",
"12009062H23434538H30005016G3340002H47590893D1911H64800019H71400001A4A5A6A7A8A9B11A2A4A5A6A7A8A9B22A3A6A8A9B30A2A3A7A9B41A3A4A6B52A4A5A6H",
"1311111313111111112111132111111312311111",
"12033006G4558127H23434538G4224830G6819000A1A2A3A4A5A6A7A8A9B10A1A2A3A4A5A6A7A8A9B20A1A2A3A4A5A6A7A8H51335426H72404103G7707703H81050005G3764718G6066372H93014827G9674361H",
"12221222112123221332111212322111122111112",
"11110587G2008005B30D9062E29002A4B30E37000A1A2A7B12A3A5B50A1A2B60E54004D9010E63001A2A3B10A1B21G4010242A4F558128G6101149G7061200H23434538G6812001G7204311H31314549G3340002G6429703H4210110B51A2A3A4A5A6A8A9B65G52159691G7103969G8577036H65010100F681983G7169062H72330894G3347079E56503G7707703H81009017G7090011H90590304G6345188H",
"1111111222111111111131133111121111111113111111311111111111111",
"11747708G2010038D3001A2A3A4A5A6A7A8A9B10A4A5B20B55E29073E33006E61000A1A2A3A8B11B21B30G4558127H21200905F410130A1A2A3A5A6B40B56A7A8G295440F3434538G6812001G7204311G9177818F86553G33340002F491462F700187E79875G5272499G828844G44000101G8686504H61677004G2210001G5681983G9164989H71734607G2404101A3A7A9B23A5A7A9B31A3A5A7B43G407724G80196387H960007E8600003A4H",
"111111111111111111111111111111111111111111111111111111111111111111111111111",
"12005000A8B21E26026D9040E30007D3006D8000A1A2A3A4B10A1A2A3A4E44000A1A2A3B11A2A3A4A5A7A8B30A1A2A3B51A2B60B80A1A2A3A5A6A7A8G4558128H23434538G5401880G7204311H33330068E40002F700069B99C187C744B50A8C931B41G7564308H47590893G9036338H50588353G7330001A2A6A8B10H65681983G7723438G8431965G901008G74203495H81011005G9208725H960007B10F",
"111111111111111111111111111111111111111111111111111111111111111111111111111",
"12009062E29004B30E37000A1A2A3A4A5A6A7A8B12A3A5B20A1A2A3A4B50A1A2B60A2E51010A1A2A3B20A3B30A1D4004E63001A2A3B10A1B21G4558128G6101149G7033000E61200H23434538G4224830G6812001G7204311H30005020G1314549G3340002F700931G6429703H4210151A2A3A4A5A6A8A9D2325G57103969H65010100F681983G7169062H72330894G3347079E56503G7707703H81009017G7090011F209160H90590304G6345188H",
"111111111111111111111111111111111111111111111111111111111111111111111111111",
"10700030G2580477G4558127G8144507H23434538G4224830H33340002G7564320H60152001A2A3A4A5A9B10A2A3A6H73628505G4845897H81016031H97526666H",
"1121321131113223221133",
"66915001A2A3A4A5A7A8A9B10A1A2A3A4B23A4A5A6A9B30A1A3B44A5A6A7A8A9B50A1A2A3A4A5A6A7A8A9B60A1A2A3H81001003A4A5A6A8B10A3A7A8H",
"33222233313213111311122221111111111111111111111111",
"12008033G4558127H23434538G4224830G6818037G857636G32617464H4212009B14A7A8A9C114A7A8A9C201A2A3A7A8F7530113H50218450B70F588353H77700000H",
"13221113333312223333311113",
"10700030G4558128H23434538G4224830H33340002F400512C805B53D1003A6A8B53C202A4C307A9B10A7B20C601A2A3A4A5A6A7A8A9B10B20A5A6A7A8H77707057H95238394H",
"133211112112131111133333312211333131",
"14558128G6101125H23171610F434538G4224830G5274141G7204311H32807846H45950291G7590893G8130397H56832966H62517849G5010563H70368879G6121044A5A6A7A8A9B50A1A2A3A4H81060008G4013237G6532744H90590303G4770493H",
"1123121111211133323223313111122",
"11110587G2013000A1A2A3A4A5A6A7A8A9B13A4B20B55E32000A1A2A3A4B10A1A3A5B20A1D3006G4558127H23434538G6812001G7204311H33340002F500109G7564353H47590893G8130397H50588353G5063751H65074000H72892473G4519184G7558536F707070C703H81060008G2228571H94886282H",
"21311121111111123322333321113111111211113211113",
"12009062E30008G4558128H24094258F224830H33340002H4280258F8686504H64800015G5040012H82206020A1A3A4A5A6A7A8A9B31A2A3A4A5A6A7A8A9B42A3A5A6A7A8A9B50A1A4A7A8H",
"1121211111112111131111111232112211132121",
"11113170G2009062E29002G4010048H23434538G7548199H32807846G3500602H48130397H65741786H73628505G5646300A1A2A3A4A5A6A7A8A9B10A1A4A5A6B20A1A2A3A4G7707070H81060008G2224025G6066372H90590303H",
"111131112113333213211122331211111111",
"14010242F558128H23434538G4224830G7204311G8326000H33340002H67169062H81011101A2A3A4A6A7A9B13A4A6A9B20B31A7A9B40D2066E20000D4001A2A4A6B10A1B20A7B30A1A3A6E34003A4A6A8A9B11A3A5A6B21A8E41001D5000F439173G6066372H90590304H",
"122211111111111112111111111111231111111131111111111111",
"10045474H2295440F3002292G4224830H65001004B15A6E30075A6A7A8A9B80A1A2A3A4A5A6A7A8A9B90G7723438H79606837H82224036G5289965G7460579H",
"3122323333333331113212321111",
"12033006G4558127H23434538G4224830G6824009G8326000H41999284H77707703H81004003A7E11102D2009B12A5A9B25E21000A2A3A5A6A7A9B11A2A3A5A6A7A8A9B21A3A4D2003B54E44000B18E53006H96729612H",
"1222111121121112222312232311122212111213",
"10700030G156005F2033006G4558127A8F75311G23434538G4224830G7204311H33400035C200A1A2A3A4A5A6A7A8A9B10B20B54A6A7C408B74C511A2C601A3A4A5A7B10B36C703A4D1201H423585F65681983H75500286H83764718H",
"1112122211131112221131111131131121111113211",
"10045474F700030G2033006G4010147F558127A8H23434538G4224830G7204311H32807846G3340002F400014B35C401A2A3A4A6A7A8A9B10A1A3B20B31B50A6A7A8A9B60A1A2A4B70A4A5C801A5D1201C312G5726888H4212325G59934749H65681983G9696903H73628505G7707703H",
"1111212211111312323111111111111111111311111113111",
"12033006G4010048F558128H23434538H37564323C801A2A3A4A5A6A7A8A9B10A1A4A5A7A9B20A1A2A3A4A9B33A8A9B45A7B50A2A3H47590893G8130397H70369116H",
"1133211111111322122323121123121111121",
"10045474F700030G2033006E41001G4558128G984618G20366274G1011044G3434538G4224830H33340002F405001A2A3A4A6A8A9H41373230G7084486H50907446G7300012G851097G60303688G1740673G5010019B86A8B90A1A4A7A8C107B22A4A6A7B31A2C564B85G9680031H73628505G7707703H82956214H94977270G5679145H",
"111131113213331111131113123111123113111213111211",
"14558128G7033000H23434538G4224830G7204311H33400004A5A6A7B10A9C100A8B13A6C205B57C315C408A9B15B35B60B70A2C501A2A3A4A7A8A9B17B20C601A2A3A5A6A7B17B53A7C701A2A3A4A5A6B52A6C801A5C901A5A8D1003B53A6C201C301A7B22C602A3A8B27G7564309H423585F60151004G5681983H75500286F646301H960007B10F",
"111111111111111111111111111111111111111111111111111111111111111111111111111",
"11113105F3009B10A1E2026026E54000A8B10E62001F580477F800006G4010147F391920F558127G5397015G8144506F964575H24207889E24830F348804G7204311G8325003H30241314G3330064E40003F508719F710904A5G4694160G5100103G6584821F975314H40605147G1420027G4716890G7590893D4939G8130397H53334471F582587G851097E921041H60159909G3845230H71564252G3628505G7707057B70C703A5H81060008G4211599F749824G9208725H90448279G8645731H",
"11111111111111311211232211111132221111111112111311112113",
"11113171F70018F2008017E29001B18E33006G4558127G6400000A1A2A3A4A6B18A9B27B30A8B43A6B51A3B77A8A9B81A2A3A4A5H22600001G3434538G7204311H32807846G3331354E40002F500020F782437G7564348G9238953H46502744G7590893H50588353G851097F9934749H65074000G7200038H70368879G10237D344451G3642296G7707703A5A6H81023012H",
"1111111121111111111111333333321311111111111111111211111",
"14558127H23434538G4224830H37564502A3A5A7A8A9B11A2A3A6A7A8B21A2A3A4A5A6B36B41A2A4A7A8B50A1A3A4A5A6A7B61A5A6A8B70C765H77707703H83764718H",
"232111312122111222111121111211131112111211",
"10222015G156015F4152862G6001001A9G8016022H24094258H31222701G5261759G6111775H45819647H65060051A2A3A4A5A6A7A9B60A2G9840739H81015009H9300513G",
"121323132323333333332111",
"12029001E33006D8000A1A2A3A4A5A6B10A1A2A3A4A5G4558127A8G980574G23434538G7204311H33340002G8814750H48130397G9036338H65074000H74203495F586817G5425043G9606837H81060008G802510G",
"2133313332222211122111211213111",
"14010242A4G8144507H23434538G4224830H37564031C200A1A3A5A7A8B11A4A9B20A1A2A6A7A8B30A4A7C308B20A9B48C512C906G8120068H83764718H94145021H",
"111111331111111111111111112211211",
"14558127F75311G23434538H3040496F8120068H60150801A3A4A5A6A7A8A9B10A1A2A3A4A5A6A7A8A9B20A1A2G5040017H83764718H90434926H",
"22213232232211123232212212112",
"1009001A2A3A4A5A6A7A8A9B10A1A2A3A4A5F1110587F398059G2025001A4A5A7B10A1G7189677F490535H44584775G7591006H53077251G7647597H61160289G5011025H70744296G2892473G4974229H8400623F602351G93946239G6433300H",
"13332333231221321232211222222122121212",
"17061040H30241314G1550470G4408491H40509732G7520015H5562461G60152801A2B11G5040013G6913801A6B10G7508932H75500286F646516H81003002E11005G2044279H98610001A2A3A4A5A6A7A8B10A1A2H",
"1321112122112211111132332312332",
"12009062E29002E33006G4558127A8H23434538G4224830G7548199G8303001H77707703H81011116B23A4B31A9E24000A1A2A4A5A7A8B10A1A3A6B20A4A7A8A9B30A1A3A6E45000D6003B20G3764718H",
"111112212132212323131213223212213211111",
"10045474G2030011B22D3006G4558127G6400075H21520187G2230161G3434538G4701066H33340002H4212325F4935634G7510072G8130397H50588353H60071928G4800023G5011016E31015E40001A2A3A4A5A6A7A8G8431965H76218313H81007007E48021E60011G2224046G3152482H94145022H",
"111121313111112111123333221311111111",
"12033006G4010242G5397015H23434538G4207889G7204311G8321000H5851097G66915001A2A3A4A5A7A8A9B11A3A6A9B23A9B30A3G8937720H72634965G3599290G6375976G7707703H81001002A3A4A5B10A3A7A8G2732705H91800273G60007F",
"1133312121111231111131112111111121211231",
"11426487G4558127H23000300A1A2A3A4A5A6A7A8A9B10A1A2A4A5A6A7A8A9B50F434538H32807846G3340002H48130397H595626F73642296H81060008G3764718H9310019G",
"1313223232123231111122311212111",
"12003028D9067E18002D9030B50E33006E40001A2A4A5A6A7A9B12A3A5D1000A1A2A4A5A7F580477G4558128G8144507H22123627G3434538H33330086E40002G7564353C425B51A4H48130397H65010563H77707703G8868119H81060008F439174G3764718H",
"1211111131121111111131111231113132112111",
"35262428G6975314G7520316H65050235A8B41A4A7B50A3A5A7A9B61A2A3H73628505G5153328H87910978H9360018G",
"33333333333332131333",
"112012D70011F2580477G8144507H26807022A3H33700908B25G7564335B48F900001A5H60643553H75646455C502C600A1A2A3A4A9B10A1A2A3A4A5A6A7A9B20A1A3A4A5A6A7A8H83764718H",
"121111111111132232133213333221331223331",
"10045474G156009B15F2009062E29002E33006G4010048C147F558128H21044178G3434538G6812001G7204311H33310300A2A3A5A7A9B12E30088B98C106E40002G5726888H440556E8130397H58577036H65010563E74000G9696903H77707701A3H81009005E60008F439174H90590304F809975G4145021G7631303H",
"3111111121312211321111113121111111111113",
"1171001F2029002B30A1E58000A1A2A3B11A2A3B20A1A3B30G4558128G7266660H23434538G4224830G6812001G7204311H33340002F500617H47578915G8976825H50588353H65050224F681983G6619908H81000004D5001B11A3B75E11012D3002H90590304H",
"1111333333311231111111111111111211111",
"12030008G4010147C242F558128H23434538G7204311H33340002F400636G7564524H40006762A3A4A5A6A7C826A7A8A9G7590009H50588353H64800020A3A5B44G5074000H77707701A3H9310001A2A3B14B20A2A6A8A9B37A9G",
"111331111211111122111111111131233311311",
"12026026H2295440F3434538G4207889H32807846G3330508D1354E50001A2A4A5A6A7A8A9B10A1A2A3A4A6A7A8A9B20A1A2A3D1001A3A4H50588353H73628505G7707701A3H81439173G487449G",
"1121111322321111111122311211321111111",
"12033006G4558127F801727B55A9G6107106H23434538G4299458G6096328G7204311H30553103A4A5A8A9B10G3340002H40009286G280258F334811F7501000E10081E30109B12G8130397H50588353G3582587H65741787H73642296H81060008F439173H94145021G6363153G742784G",
"1211113311312312111311112131111233",
"10969988G2045010A1G4558127H23434538G4224830G6805007H33340002G7564353H4212019F7590893G8130397H50588353G2580000G8699500H65001006A8B10A1A2E60013A4A5A6A7A8A9B20A1A2H72410190G6218313G7707057C703H81011003E47002E50005E60008G2224035G3152482H9910067G",
"11222111111211111211313111132111311111111",
"10000080G170011F2004021E26020A6E33006E41001A5D4000E62001G3048472G4010049G6229315G984618G22230161G3434538G4224830G6807023E12001H33310100A2C350A1B75E34568C669B72F400707A8G7564353H47590893H57300012H77702003A4B10G9606837H81007014E11134E27000A1A2A3A5A9B11A2A3A5A7A8A9B20A1A2A3A4A5A6A7B32A3A5A6E48034E60016H95679145G7631303H",
"1111111111211111111111111111111111121221111121112111121111111121111",
"10045474F158145G4505685E32163E58127G6188701F684346G7469113G8789533H23434538E7477F4842059G7182739H30114823G3897356G4010534G7119142G9732186H45462149G6947713H50366775G3413628G6161953G7160136G9859086H60018643G1245672G3528891G45087E5681983F741786H71278040G2410080B90C120B30B40B50C220B30B40G403341G80794697G2257671G567955F6066372G8093706H97268402F677329H",
"1111121111311211111111111111121211111111111111111",
"10900047G111018F2009062E30008D3006G4558127H23434538G4224830H33340002F700053A6A8B63A5A7A9B73A4A7A8A9B80A1A2A4A5A8B99C103A6B79C741A2A3A4A5B50A1A2A7A8C937A8A9B40A1A3E11104A5A9C401A8H65681983H73628505G7707057C703H83764718H94145021H",
"1111111111111111111111111111111111111111111121111111111111",
"12062001H23434538H43047672H54693926H62541668G5001020E20080A2A4A6A8B90A2A3A4A5A6A7A8H73628505G6375976H84211599H90448279H",
"13312233233333333213131",
"10174057F969988G2033006G4558127A8G8144507H23434538G4224830G6805007E18000A1A3A4A7A8A9B10A1A2A3A5A6A8A9B21A3A5A8A9B30A1A2A3A4A5A7A8A9B40B72A3A4A5A6H3233859G77707703H83764718G8581108H",
"111111221211111311121112122221112112122221212111",
"12009062E33006G4558127A8H22200161G3434538G4224830G6812001H33330400A2A4A5A6A7A8A9B10A1A2A3E40002H48130397H56832966H62517849G7616300H70369116G2336818G3628505G7707703H81045000E51001E60008G4013237H94770493H",
"1111131113233323322211113111111111",
"10802916G110122E70018F2005003E24000A1A2A3A4A5B11A2A3B20A1G4558128G7061200H21520188G3434538G6973555G9549364H30005016G3340002F500602G7564802A9B18H47961808G8130397H5851097G64800044G5305468G8431965E62976H81048029E57004E60008H95992081H",
"31113121331322221121111211111111111111",
"10908001A2A3A4A5A6A8A9B10G2009062E29001E32001G4010242F558128G8144506H23434538G4224830G7204311H30005016F40496F3340002H4212325F8130397H64800044G9696601H710227A8B30A1A2E4848038G5646535G7707703H81007007D9001E48021E60008H90590303G4145021H",
"332321131111121211111111122112111111112",
"12580477G4010236G8144507H21520099H44095762H62279055H73205001A2A3A4A5A6A7A8A9B10A1A2A3A4H83764718H",
"111133333333333333331",
"14558127G8144507H2295440F3434538G4224830H34710660H4334811G50588353G5326322H65681983H74586817G7707070H82012319G6500001A2A3A4A5A6A7A8A9B10A1A2A3A4A5A6H9742784G",
"311221212211133331223312132312",
"10700030G4558127A8H23434538G4224830G6805001A6B12A3A6A8H30674956G3340002H53932291H75641008H81007003A8D8001A2A3A4A9B11B70D9021A2A3A5E10002A3D1005E48022A3F275020H96945958H",
"12132221311111211331111313331111211",
"12033006G4558127A8H23434538G4224830H72404103G7707703H81011111A6B39D2066E22051D4008E34001A3A4A6A7A9B10A1A2A3A4A5A6A7A8B20A1A2A3A5A7A8A9B30A1A2A3G3764718G4335863H",
"111222112211113131222221321221212312121111",
"10045474G2580477G4141001A2A3A4A5A6A7A8G8144507H23002292F434538G7204311H37564320H43898403H51452091H61740673H77707703H94145021H",
"31333333331232132111",
"11110587G4878871H21887175G8318008H33198837F310600A1A2A3A4A5A6A7E30150E40002F500601A2D2601A2A3A4A5A7A8A9B10A2A3H48130397H53054164H65010563F741786H72537897G6833149H81048015E60008G2224055H90448279H",
"12111332331333111323332133332111211112",
"10200020F900053E69989B99G2005004B22E10037H20200000A2A5A7A8H32296881G7564320H40605147G1420027H61740673H84404797H",
"313331333113313311",
"1000360A1A2A3A4A5A6A7A8A9B70A1A2A3A4A5A6A8E969998G171001F2036010E60030F580477G8144507H2204140F6807022A3H30556807A8G7129797G8363525H44095762G6270001H6039967F2279055G5357623H82962242G3764718H",
"32112333311333321111311131121223333211",
"12033006H23434538G4299458H32807846G3340002F501017H75646009B57B61C327A8A9C900A1A2A3A4A5A6A7A8A9B10A1A2A3A5H81439173H",
"1231132113111321223322322331",
"10700030F969989G2005018B23E33006E53001E83004B10B20D5001A2A3A4B10A1B20A1A2A3G4558127G7266660H21887175G3434538G4224830G6866984G7204311H33340002G5726888H40177746G280259F8130397F589580H50588353G9509952H65741787H70369116H81060008H92919429H",
"11111111133113222122313111112121111113",
"12009062E29002G4010242A4G8144506H23434538G4224830G7204311H37564056H55063751H77707703H8209703A4A6A7A8A9B10A1A2A3A4A5A6A7A8A9B20A1A2A3A4A5A6A7A8A9B30A2A3A4A5A6F5289965H90590303H",
"111111111111111111121122122121121222111111111",
"10000080E45474F2380E13000A2A5A6A7A8A9B10A1E2042021E62001A3G4558127A8H23434538H37564353H48130397H55063751H64800023H81060008H",
"23131333311131321312311",
"14558128G8144507H24224830E99458H37564320H53303460G4693926G7617178H65877963G7616300H80701178G6540001A5A7A9B11A5A9B23A7B31A2H95492061H",
"31221223312133311111313",
"10400001A2A3A4A6A7A8A9B10A1A2A3A5A6A7A9B20A3A4F900049G2045011B30B50A1G4010147C242F558128H22230161G3434538G7204311H33340002H40009193G280258F7530072H50588353G3799017H64800023G5010588G8462976H77707703H80696379G1007007H",
"111222123211111111113131212131111111111111",
"10700030G156009F2009062E33006G4010242F558128G845204G21044178G3434538G4207889E24830H33310201A3A4A5A7A9B10A1A2A4A5E30102A6E40002H48130397H50588353G81014F65741786G7169062G9696903H71344451G3628505G5500286G7707057C701A3H81439174H9742784G",
"111111113213223111223211111111131111111",
"10174059G2009032E29002G3035077G4558128F800101A4A5A7B12B79G6107107E17101G8940556H23434538G4224830H33340002G6042004G8179121F572779H40009190G1782653G2752141G4335251G7325505E63932F530054E91533H50588353H65010588H72410760G4294676H80727721G2207008E24079F946847H98022050H",
"1111211113211111131311313111111212133",
"10700212G15001A2A3A4A5A8B16E2029070E42000B20B30A1B41A4B50G4558127A8G5000348A9B51A3A4A5A8B64D13E7535764H22230161G3434538G7204311H30005016G3340002H46502744H65080046B51A2H96938986G7273514H",
"131111113211113112113131111113111113331",
"10045474G2033006G4558128H23434538G4224830G7204311H32807846G3340002F400512C801A2A3A4A5A6A7A8A9B10A1A2A3A4A5A8B50A1A3A4A5D1202C307A9B10H77707057C703H83764718H",
"1133211111332133222212111112231111111",
"10045474G4010049G8144507H28300000A1A2A3A4A5A6A7A8A9B10A1A2H33330210H47578918G9238328H64800017G5010001A3A5A6A9B10A1A2H73628505H81009019E44011E56071G9208725H",
"231222222121221233233122122313221",
"12003003A6B23D9041A3E26000D8000A1A2A3A4B10A1A2A4A5D9002B31E33006E41007G3959634G4010048F558127H21565445G3434538H33340002H47590893G8130397H55063751H65010563H74311226G7707703H83764718G8581108H9348522G",
"11111133333221111111112331121131111",
"10000080G2016000A1A2A3A5B10A1A2A3A5B20A1A2A3A4A5G3048472G4558127G7418744H22600111G3434538G4224830G6812001H32181268G7564353H48130397H50588353G5063751G8577036H65010563E74000H81060012H96729612H",
"1232312222233111332213213121111113",
"10904000A1A9B12A3A4A5A6A7A9B20A1A3A5A8B30A1A2A7E69988G1113007B27G2003019D9041B58E29012G5000047B52H24224830G8326004H33782437H47500007H5851097G65010588G7616300G8462976H70368879G2892473G3468603F628505H81048016H9310042G",
"133111111213111111211111111121111131311111",
"12001000A1A2A3A4A5A6A7A8A9B10A1A2A3A5A7A8B21A2A3A4A5D5013D9008B62H21044178G4094258H30005016H4280258G90590303H",
"333333311111333222112111211111",
"10174059F700030G19005A9E2009032G4558127F800104A5B12B79C219G8940556H21044178G295440F3434538G4224830G7204311G857636G33340002G6042004G8179121F342335F572779H40009190G1782653G2752141F80259F4335251G7325505E63932F530170H50588353G6746202H65268179F681983G6011101H72410760G4294676H80280944F529459G2207008F385847F946847G6066372H93332803G4259633G8022050H",
"11112312231111221113213111113111113132121131112",
"1009018B20A1A2A3A4A5A8A9B30A1A3A4A6A7F2011004E29001E45011B30A1B50E62001G4010147C242F558128G8144507H21520188G3434538G4094258F224830H33330098E40002F701323G7900999H4280258F7551105H69696601H76218313G7707702A3H81007007E48021G3152482H94145022H",
"31111111112131111211211111321211111111111111",
"12001021E44023G4010216B42F558127H23434538G7204311H30005016G3340002H40008180D9322G212325F8130397H64800042G5001006E50149B51A3A5A7A9B62A6A8B70A2A3A4A6A7A8A9C244G7169062H70369116G7707703H81044004E59002E60008G2207009H94145021H",
"11111211111121133331311111111211111121111",
"10805153G1110587F56009F2033006G4010048F558127G9673561H21522601F744288G3434538G4224830H33330098D4568C650A9B69B72H45819647G8130397H55072170G6894757G7916305G8577036H64756282G9696918H70226289G1074418G3594093G5646800G7707703G9606837H81007006D9005E12009B25E22017D6000A1A2A3A4A5B70D7019E59003E60008G3289866F301414G4433295F523092H94553671G5245544G60007B10F",
"121112111222322111211221111111221111212222211112111111",
"14558128G8144507H24224830G7204311H65681983H73642297H86580100A1A2A3A4A5A6A7A8A9B10A1A4A5A6A7A8A9B20A1A2A3A4H",
"31212133111221331222121133313",
"12033006G4558128H23434538G4224830G7204311H32807846G3400363C470D1001A2A3A4A5A6A7A8A9B10A1B35B50A2A3A4A6A7A8C202C302A3B14C402A8B11H65681983H73628505H",
"133211121332132223212131111121123311",
"10045474F286023F700030G1302671G2081001A2A3B10F948099G4558127A8H23434538G4224830G7548199H32530043G3340002F700190H42143067G4097050G5041488G7606319G8519867H50588353H64800020A3A5G5080056F741786H73079836G9606837H80839052G2224025G4815190G5914562H9464441D89206F973028G742784G",
"31121111121321113313131111311131131111",
"10000080G2029004B30E33001A2A6E61000A1A2B10A1B21B30G4010242F558127H21200905G3434538G7204311F552504H30005016G3340002G7900999H4212325E80258F4000101H64800015G9696601C941A2A7A8B50H72404137B43G7707057C703H81048025G2206021A9B52A8H90590303G4145022H",
"1112311221111121311111111111112111113111112",
"12033006G4558127G6101165H23434538G4224830H33500001A2A4A6A7A8B11A2A4A5B20C100A8B21A3C407H64800020A3G5050225H77707703H81001015D5002A3A5A6A7A9B11A2A4A5A6A7A8B21A2A3A9B77A9E48032G3764718H",
"12222232211111112111111111211221221111122121131",
"10700030G2004002B25D5003A5A8B12A6A8B23D8000A2B18B31E10037E26001B10A2A3B20A1A2A3A4A5A6A8B30A1A2A3A4D9008E33006G4010048F558128H23434538H33340002H48130397H50588353H77707703H81060008H",
"111111112211111232233213312113111111312111",
"10108010G2005003A5E33006G4010048F558128G5000041A2A3A4A5A6A7A8A9B50A1A2A5A6A7A8B60A4A6A7H23434538G4224830H33340002H47510666G8130397H50588353H65010563F681983H77707057H82224041H98600003A4H",
"31311233111322111321111111221121111122",
"1170011F2009100E30006D6010F580477G4010145B95G5613529G8144507H26807022A3H33403508F700409C908B25B33G7564308B48A9F900001A2A3A4A5A6A7B11A2A3A4A5A6A7B29B30B92A3A4A5A6A7A8C199H46052429H83764718H",
"311111131111111112122132232232121112212333311",
"10700030F901014G11009B11A2A3A4D49001F2087050A1A2A3A5B60A1A2G4010147G6400075H23434538G4224830G7204311F552504H33340002H4210017D2325F4001010A7G7520003A7G8130397H57103969H60152302A6G5020150B91H72499010G4937659G7707702H81003026D7007D9004E60008D2010A5F439173H9310022B39G",
"11131311333222131132111111111221111211111111111",
"10908001G156005F4010210F604710H24299458G6808002A3A4A5A8G8981598H33400222G5261759H60159901A2A3A4B31G3633694H77707070G8543464H81005014D9006B10A6A7E18000G3764718G7090011G8581108H95113856H",
"3113333111132333311131111111121",
"1073952E969988G6063010H20000000A1A2A3A4A5A6A7A8B10A1A2A3A4A5A6A7G3434538G6805007G7204311H32807846G7564320H65071110H73628505H81020000F439173H",
"11322313131112222211111112111",
"10700030G149001E75101A2A3A4B10A1A2A3A4B20A1E827244E4061F4010242G5000338H23434538G4224830G7204311H33330073E40002F701329H4212325F8130397H50588353H65040038H70369116G2499010G6218313G7707702H81048021E60008G3152482H",
"1132321222133121132111312111211111",
"12033006G4010242F558127A8H23434538G4224830G6801005B10A1G7204311H32807846G3400220C300A1A2A3A4A5A6B10A1A2A3A4B20B50A2A3A4A5B60A1A2A3C520C610D1202C309B16B20G5726888H48130397H65020061F681983H77707006H81009005E12012E60008F439173H960007D729612H",
"112132112111211122111121111131213311113112123111113",
"12033006G4558127A8F778250H21830679G3434538G4224830G6805001A6A9B16A8D7003A6H33400805H47510075E98775H50482813G3932291H67922702H70117860G1175527F278040G2291078G5641008D6535G7707703H81007003A8D8001B13B70D9021A2A5E10001A2A3A4D1003A5E44032D8022A3F275020G3764718G6395581H95280017G6945958H",
"1111222221111221112212221111111112211211111211212",
"10700030G2003028D9046B62E33006E43000A1B11B24B30B50A1A4A5B60A1B70A1B80A1G4010048F558127H22200161E30161G3434538G4224830G6812001G7204311F548199H33340002H48130397H65010563E74000H77707070C703H81060008H",
"111111113133322322311111311111211111",
"12026026F580477G4010236G8144507H24094653H30556807A8G2807846G3403508G7564348A9H46564088H60150601A2A3A4A5A6A7A8A9B12A6A7A8A9B20A1A2A3A5A6B31B41A2B98G4800042H72411260H83764718H960007F",
"1111321112133333333331113111111123331111",
"10220021G4558128G6104200A2A4A6A8B10A2A4A6A8A9B20A8B32A4A8B40A2E50005A6A8A9B10A1A3A4A5A8B22G7035300F955766H23434538G4224830G7204311F780618G8985331H32807846G3340002H40044919H59934749H65681983H75646150B99C252A4H85840608G949584G9411399G",
"32311131211321111111121211111312122131111121111322",
"24094258H47501003E10004B10A3B22A5B32A5A8B41A4B50B75B88B99C101A7B11A5C211A3B29B31A3A5A9B45A7C307D4896E70300C400D7902A4A6B14A8D8903A9B14A5A6B22A6B36D9901A8E90008H65011004H",
"11323321133111231111131111122111111213121111212111",
"10700030G2031005F450071G4558128H23434538G4224830G7204311H33200050A1A2A3A4A5A6A7A8A9B60A1A2A3A4A5A6A9B70A1A3C105A6F340002G7564353H47590893G8130397H55063751H64800024H81009005E60008G6500013H94145021H",
"1112221321211113311122222111131112111111",
"11113123F70011F2036010E48032F580477G8144507F45204G24207889G6273196H33403508G7564308B48H42632209G4508095H52580004H64800021G7169062H73628505H81013006E28004E30004G3764718G9208725H9310001A2A3A7B14A6A8A9B20A2A6A7A8A9B35A7A9B40A1G",
"123211121112111131111111233312222133321131",
"10045474G4558127H23002292F434538G4224830G7204311H33330088H65001037E60001A2A3A4A5A6A7A8A9B10A1A2B31F681983G7169062H",
"33232312333333133222333",
"23171610H33700300A1A2A4A5A6A7A8A9B10A1A2A3A4A5A6A7A8A9B20A1A2C935H",
"322233222222313333333223",
"12009062E33006D8010G4558127H21044178G3434538G4224830H30000231A6B40H75646065C517B38C950A1A2A3A4A6A7A8A9B60A1A2A4A5A7A8B70A2G7707703H90590303H",
"111212231311133313233312132223211",
"10700030G4558127A8H23434538G4224830H33340002F400001A2A3A4A5A6A7A8A9B10A1A2A3A5A7A8A9B33A7C100A5A6A7A8B10A3A4A6A8A9C470A4D1307B17B22G5726888H423585F70368879G7707057H",
"121221311121231111123331111111111112111111333",
"10045474G4558128F821890G7183908H20001443G3434538G4224830F557335H30106950G2519092G8030232H43202238H5041348F4537489G6465981E95147G7831349H61488417G5124425F536818F681983G6500065G9248256H73642297G8917791G9606837H83755611G4815190G7052196H93490856F850690G6633955G8159737H",
"131133211211113311122121211133213",
"12033006G4558127H23434538G4224830G6824009G8326000H77707703H81011102A4B10A6B25B37A9D2009B12B25B75E22051E41000A1A5B12A6B24A7B32A7A9B44A7B50A5A8B62A3B74E50005D3006H96729612H",
"1222111131322211221232221212113122121113",
"1120101E56015F4558128G7035000B10C160E61200H23434538G4094258F224830H38203732H4280258F7551105H50588353H60151011A7C601A2A3A4A5A6B11A2A3A4B21A4H77707057C703H82224025H97631303H",
"11212132121111113333332111313111",
"10700030G1113170G2009062E29002E33006G4010145C242G845204G23434538G4224830G7204311H33330103D9001A2A3A7A9B11A3B21A3A7B31A3B41A3E40002H48130397H65010563G7616300H73468603F628505G7707701A3H81009005E60008F439173G5289965G6066372H",
"111111112221331322211322221212111111111",
"10700030G2009062E29002E33006E56000A1A3A4A5A7A8A9B10A1A2A3A4A5B20A1A2G4558127H23434538G6812001G7204311H33340002F500602H4280258F8130397H50588353G5063751H65010563E74000H77707070H81060008H",
"11113311131122213123213111112131111",
"14558128G7061200H23434538G6812001G7204311H33340002F700037A8C702A3A4A7A8A9B10A1A2A3A4A5A6A7A8A9H47510025B72C201A3C666H52119435G8655504H77707703H87871125H9310017G",
"1111111233312112333223111123113111",
"10401181E43957G2029030G4558127F801755G8144507H23434538G4224830H30553201A3A5A7A9B11A3A5A7G3340002H47530013C112G8130397H58069384H65330383F741787H72291078G7707057C701A3H81060008G6500002A7B13A4A5H90590303H",
"31131131333333311111111111111111111",
"14558127A8F816857E78871G8144507H20003027G295440F3434538G4224830G5908748G6847978G8318000A1A2A3A4A5A6A7A8H30439101G4031284H40975243G2502956G7520007H50619462F810455G2331012G6196385G7523313H72330894H81439173G3764718G6379342G7209160H93018428G9726621H",
"1123131222211121111221112121311111311",
"10045474G4558128G8144507H23434538G4224830H33340002H423585F60600126H86570000A1A2A3A4A6A7A8A9B12A3A4A5A6A7A9B86A7A8A9B90H",
"23132123333332113112222221111",
"1000625D3012D9017E212103F813327G2009100A1E26026E36010E62001A2A3A4G4140020G6400035G8144507H21452275G4310020H31305911G3403508F500602F700385C409C925B33D1400G7564310B45A7A8B54H44095762H60151504D2801F643554G2279055G4800042G5071047B73H72302403F410660D1260D2120G5646541A4A7A8G9922118H81046028G3764718H91740879G8600005B11H",
"11122111211111112121113211121212221211122111111211211",
}
--Design/Image/Script: wyykak
local cc=13959973
local this=_G["c"..cc]
this.dlCode=13959972
c13959970={}
Duel.LoadScript("c13959970.lua")
local cnu=c13959970
function this.initial_effect(c)
if not this.gc then
this.gc=true
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START|PHASE_DRAW)
e1:SetCondition(this.con)
e1:SetOperation(this.op)
Duel.RegisterEffect(e1,0)
local es1=Effect.CreateEffect(c)
es1:SetType(EFFECT_TYPE_FIELD)
es1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
es1:SetCode(EFFECT_SKIP_DP)
es1:SetTargetRange(1,1)
es1:SetCondition(this.con1)
Duel.RegisterEffect(es1,0)
local es2=es1:Clone()
es2:SetCode(EFFECT_SKIP_SP)
es2:SetCondition(this.con2)
Duel.RegisterEffect(es2,0)
local es3=es2:Clone()
es3:SetCode(EFFECT_SKIP_M1)
Duel.RegisterEffect(es3,0)
local es6=es1:Clone()
es6:SetCode(EFFECT_CANNOT_BP)
es6:SetCondition(this.con3)
Duel.RegisterEffect(es6,0)
local es7=es2:Clone()
es7:SetCode(EFFECT_CANNOT_ACTIVATE)
es7:SetValue(aux.TRUE)
Duel.RegisterEffect(es7,0)
local es8=Effect.CreateEffect(c)
es8:SetType(EFFECT_TYPE_FIELD)
es8:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE|EFFECT_FLAG_IGNORE_RANGE)
es8:SetTargetRange(0xff,0xff)
es8:SetCode(EFFECT_DISABLE)
es8:SetCondition(this.con4)
Duel.RegisterEffect(es8,0)
local es9=es7:Clone()
es9:SetCondition(this.con5)
Duel.RegisterEffect(es9,0)
Duel.RegisterFlagEffect(0,cc,0,0,1)
Duel.RegisterFlagEffect(1,cc,0,0,1)
local es10=es1:Clone()
es10:SetCode(EFFECT_DRAW_COUNT)
es10:SetValue(0)
es10:SetCondition(this.con6)
Duel.RegisterEffect(es10,0)
end
end
function this.con6()
return this.isTag and Duel.GetTurnCount()==3
end
function this.con1()
return this.isTag and ({false,true,false,true,true})[Duel.GetTurnCount()]
end
function this.con2()
return this.isTag and ({true,true,true,true})[Duel.GetTurnCount()]
end
function this.con3()
return this.isTag and ({true,true,true,true,true})[Duel.GetTurnCount()]
end
function this.con4()
return this.isPicking
end
function this.con5()
return Duel.GetCurrentPhase()==PHASE_DRAW and (Duel.GetTurnCount()==1 or (this.isTag and Duel.GetTurnCount()==3))
end
function this.con()
return Duel.GetTurnCount()==1 or (this.isTag and Duel.GetTurnCount()==3)
end
function this.seed3()
local result=0
local g=Duel.GetFieldGroup(0,0xff,0xff):RandomSelect(0,8)
local ct={}
local c=g:GetFirst()
for i=0,7 do
ct[c]=i
c=g:GetNext()
end
for i=0,10 do
result=result+(ct[g:RandomSelect(0,1):GetFirst()]<<(3*i))
end
g:DeleteGroup()
return result&0xffffffff
end
function this.op(e,tp)
this.isPicking=true
if Duel.GetTurnCount()==1 then
math.randomseed(this.seed3())
end
Duel.Exile(Duel.GetFieldGroup(0,LOCATION_DECK|LOCATION_EXTRA|LOCATION_HAND,LOCATION_DECK|LOCATION_EXTRA|LOCATION_HAND),REASON_RULE)
this.isTag=Duel.SelectYesNo(0,aux.Stringid(13959998,8))
this.chronicle()
Duel.ConfirmCards(0,Duel.GetFieldGroup(0,LOCATION_DECK,0))
Duel.ConfirmCards(1,Duel.GetFieldGroup(1,LOCATION_DECK,0))
Duel.SelectMatchingCard(0,nil,0,LOCATION_EXTRA,0,0,99,nil)
Duel.SelectMatchingCard(1,nil,1,LOCATION_EXTRA,0,0,99,nil)
Duel.ShuffleDeck(0)
Duel.ShuffleDeck(1)
Duel.ShuffleExtra(0)
Duel.ShuffleExtra(1)
if not this.isTag or Duel.GetTurnCount()==5 then
this.isPicking=false
end
Duel.Draw(0,5,REASON_RULE)
Duel.Draw(1,5,REASON_RULE)
this.isPicking=false
Duel.ResetTimeLimit(0)
Duel.ResetTimeLimit(1)
end
function this.chronicle()
if not this.deckList then
this.deckList=cnu.loadDeckList(this.dlCode)
end
for tp=0,1 do
local deck=this.deckList[math.random(1,#this.deckList)]
local g=Group.CreateGroup()
for code,num in pairs(deck) do
for i=1,num do
g:AddCard(Duel.CreateToken(tp,code))
end
end
Duel.SelectYesNo(tp,aux.Stringid(cc,math.random(0,4)))
Duel.SendtoDeck(g,tp,0,REASON_RULE)
g:DeleteGroup()
Duel.SelectYesNo(tp,aux.Stringid(cc,math.random(0,4)))
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment