Commit f35504d2 authored by Tachibana's avatar Tachibana

watele

parent 677a9e53
Pipeline #6580 passed with stage
in 10 minutes and 1 second
#created by ...
#main
1100003
9300011
9310045
9310046
9310047
9320233
9390008
9399400
9399498
10070003
10070010
10070011
10070012
10070014
10070015
10070017
10070018
10070020
10070021
10070022
10070100
10070101
10070102
10071001
10071091
10071101
10071191
10071201
10071202
10071203
10071211
10071221
10071231
10071291
10071301
10071311
#extra
9310039
10070002
10070004
10070005
10070006
10070007
10070008
!side
10071011
10071021
10071031
10071041
10071111
10071121
10071131
10071141
10071321
#created by ...
#main
11451400
11451401
11451402
11451403
11451404
11451405
11451406
11451407
11451408
11451409
11451411
11451412
11451413
11451414
11451415
11451416
11451417
11451418
11451420
11451421
11451422
11451423
11451424
11451425
11451431
11451432
11451433
11451434
11451435
11451455
11451457
11451459
11451461
11451462
11451463
11451464
11451465
11451466
11451467
11451468
11451469
11451470
11451471
11451461
11451489
11451493
11451494
11451499
#extra
11451419
11451436
11451437
11451438
11451439
11451440
11451456
11451491
!side
#created by ...
#main
11451500
11451501
11451502
11451503
11451504
11451505
11451506
11451507
11451508
11451509
11451510
11451518
11451519
11451520
11451530
11451548
11451550
11451568
11451570
11451573
11451574
11451576
11451577
11451584
12042013
12042044
12301100
12301102
12301105
12301110
12301112
12301115
12301117
16101071
16170003
17032010
17032020
26805018
26805019
26805020
26807025
26807031
#extra
11451566
11451600
11451621
11451631
12087055
12301120
12301125
12301130
12301135
!side
17020510
17032030
17061090
21310011
#created by ...
#main
28316017
28316018
28316019
28316020
28316021
28316022
28316024
28316025
28316026
28316027
28316028
28318010
28318011
28318012
33200400
33200401
33200404
33200407
33200409
33200411
33200412
33200413
33200415
33200418
33200419
33200420
33200421
33200422
33701500
50218505
50218510
50218515
50218520
50218525
50218530
50218575
50218580
50218585
50218590
50218595
50218599
50220105
50221410
50221415
50221420
50221425
50221435
50221440
50221445
50221450
#extra
28316016
28316023
28316029
28316030
!side
50218535
50218540
50218545
50218550
50218555
50218560
50218565
50218570
50220110
50220115
50220120
50220125
50220130
50220135
50221430
#created by ...
#main
53700000
53700002
53700003
53700004
53700005
53700007
53700008
53700009
53705001
53705002
53705004
53705006
53705008
53705009
53705010
53705012
53705013
53705020
53705021
53711001
53711002
53711003
53711004
53711009
53711010
53711011
53711012
53711013
53711014
53711015
53715002
53715003
53715004
53715005
53715006
53715012
53715013
53719001
53719002
53719003
53719005
53719006
53719007
53719008
53719011
53719012
#extra
53700006
53705003
53705005
53705007
53705018
53705023
53711005
53711006
53711007
53711008
!side
53715001
53715008
53715009
53715010
53715011
53715014
53715015
53715016
53715017
53719004
53719009
53719010
#created by ...
#main
53799053
53799056
53799057
53799058
53799059
53799060
53799061
53799062
53799063
53799081
53799082
53799083
53799086
53799087
53799094
53799096
53799098
53799107
53799110
53799111
53799112
53799118
53799123
53799129
65020135
65020136
65020137
65020138
65031007
65031009
65031013
70700201
70700205
70700209
70700213
72979207
72979228
75646468
75646469
75646470
75646471
75646565
#extra
53799068
53799071
53799072
60000055
!side
#created by ...
#main
81002002
81007017
81016048
81016049
81016050
81021028
81023024
81026071
81027039
81042014
81042015
81046047
81050001
81081000
81081900
81081996
81081997
81081998
81081999
85400001
85400900
85401000
85401100
85401200
85401300
85402330
92369002
92369003
92369004
92369005
92369013
92369015
92369016
92369017
92369018
92369019
92369020
92369021
92369022
92369023
92369024
92369034
92369666
92369777
92369888
93601016
#extra
81002010
81002019
81009029
81015071
81017006
81018066
81020006
81042016
81048021
81081001
81081002
81081003
81081004
81081005
!side
86500013
86510002
86510003
86510004
92369009
93600301
#created by ...
#main
1175121
1184073
1184121
9310024
9310051
9320010
9910088
9910090
9910362
9910363
9910365
9910366
9910368
9910369
9910371
9910372
9910373
9910375
9910376
9910378
9910379
9910380
9910381
9910382
9910383
9910384
9910385
9910386
9910871
9910872
9910873
9910875
9910877
9910879
9910882
9910884
9910886
9910887
9910888
9910891
9910893
9910894
10400090
10400091
10400092
10400093
10400096
10400097
10400098
#extra
1184041
1184103
9310052
9910201
9910202
9910225
9910232
9910238
9910881
9910885
9910890
10070005
10070007
!side
#created by ...
#main
12015020
12028020
12028021
12028023
12029075
12031001
12031002
12031003
12031004
12031005
12031006
12037053
12039010
12042035
12042045
12042046
12044004
12044005
12044026
12044027
12044089
12045011
12045045
12046000
12046050
12047000
12047007
12047009
12062000
12062080
12062081
12062082
12062083
12062084
12062085
12062086
12064005
12070030
12070031
12070032
12070033
12070034
12070036
12070038
12070040
12070041
12070042
12070051
12070055
12070056
12083028
#extra
12015011
12015021
12015022
12015023
12015024
12015025
12015026
12031000
12031010
12031011
12031012
12031013
12043031
12045030
!side
12047014
12047020
12070060
12070061
#created by ...
#main
12899001
12899002
12899003
12899004
12899005
12899006
12899007
12899008
12899009
12899010
14700121
15000900
15000901
15000902
15000903
15000904
15000905
15000910
15000911
15000912
15000913
15000914
15000915
15000916
16110000
16110001
16110002
16110003
16110004
16110005
16110006
16110007
16110008
16110009
16110010
16110011
16110012
16110013
16110014
16110015
16110016
16110017
16110018
16110019
16110020
16110021
16110022
16110023
16110024
16110025
16110027
16110028
16400087
16400089
#extra
12899011
14700123
15000907
15000908
15000909
16110026
16400088
!side
#created by ...
#main
18003007
26805021
26807032
26812010
26812011
26812012
26812016
26821027
26826000
26826002
26826003
26826004
26826005
26826006
26826007
26826008
26826009
26826010
26826011
28300013
28308000
28308001
28308002
28308003
28308004
28308005
28308006
28308007
28308008
28308099
28316031
28316032
28321007
28323003
30700025
30700045
30700047
31300009
31300011
31300013
#extra
26826001
28316033
28325004
30700046
31300014
!side
#created by ...
#main
33200004
33200005
33200008
33200014
33200015
33200261
33200264
33200400
33200404
33200407
33200409
33200411
33200412
33200413
33200415
33200418
33200419
33200420
33200421
33200423
33200424
33200425
33200427
33720001
33720004
33720005
33720006
33720007
33720008
33720009
33720010
33720011
33720013
33720015
33720016
33720017
33720018
33720019
33720020
33720021
#extra
33200018
33200032
33200041
33720003
33720012
33720014
!side
#created by ...
#main
65080011
65080012
65080014
65080016
65080021
66915005
66915070
66915071
66915072
66915076
66915078
66915079
66915080
71400004
71400007
71400014
71400015
71400017
71400018
71400019
71400021
71400026
71400027
71400032
71400033
71400034
71400035
71400036
71400044
71400047
71400052
71400054
71400055
71400057
71400058
72900000
72900001
72900002
72900003
72900005
72900006
72900016
72900018
72900025
73295012
75646973
#extra
64800095
65080018
65080019
66915066
66915067
66915068
66915069
66915073
66915074
66915075
66915077
!side
71400008
71400010
71400011
71400028
71400030
71400043
71400060
72900013
73295002
73295022
#created by ...
#main
77000101
77000102
77000103
77000104
77000105
77000109
77000110
77000112
77000113
77000114
77000115
77000116
77000117
77000118
77000119
81001000
81001001
81008015
81008073
81013008
81025005
81039014
81040015
81040025
81040032
81040033
81040034
81062019
85400000
85400001
85401200
85401440
85401480
85401630
85401660
85401700
85401830
85401860
85401890
85402000
85402100
85402120
85402200
85402210
85402220
85402300
85402400
85402490
92361438
#extra
77000106
77000107
77000108
77000111
81005027
81007020
81007021
81037005
81051007
85402430
92369006
!side
No preview for this file type
......@@ -358,6 +358,8 @@
12300005 2 --黑圆桌·曳影妖姬
12300009 2 --黑圆桌·穿刺公
12301117 0 --八掬胫村?
12301125 0 --八掬胫洋苦处·宿傩
12301130 0 --八掬胫黑肚处·大狱
12301666 1 --六天理·灭尽灭相
#128
12800000 2 --提灯剑舞姬
......
......@@ -104,19 +104,19 @@ end
function cm.efilter(e,te)
return te:GetOwner()~=e:GetOwner()
end
function cm.spfilter(c,e,tp)
function cm.mtfilter(c,e,tp)
return c:IsSetCard(0x5fa6) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.spfilter(chkc,e,tp) end
function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.mtfilter(chkc,e,tp) end
if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>1
and Duel.IsExistingTarget(cm.spfilter,tp,LOCATION_GRAVE,0,2,nil,e,tp) end
and Duel.IsExistingTarget(cm.mtfilter,tp,LOCATION_GRAVE,0,2,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,2,0,0)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
function cm.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,cm.spfilter,tp,LOCATION_GRAVE,0,2,2,nil,e,tp)
local g=Duel.SelectMatchingCard(tp,cm.mtfilter,tp,LOCATION_GRAVE,0,2,2,nil,e,tp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<g:GetCount() or (g:GetCount()>1 and Duel.IsPlayerAffectedByEffect(tp,59822133)) then return end
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
\ No newline at end of file
......@@ -49,12 +49,12 @@ end
function cm.spfilter(c,e,tp)
return Senya.check_set_prism(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end
function cm.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end
function cm.spop1(e,tp,eg,ep,ev,re,r,rp)
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local g=Duel.GetMatchingGroup(cm.spfilter,tp,LOCATION_GRAVE,0,nil,e,tp)
if ft<1 or g:GetCount()==0 then return end
......
......@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e2:SetCountLimit(1,m)
e2:SetCondition(cm.spcon)
e2:SetTarget(cm.sptg)
e2:SetOperation(m.spop)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
--atkup
local e1=Effect.CreateEffect(c)
......
......@@ -39,7 +39,7 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCondition(cm.spcon1)
e2:SetCondition(cm.spcon)
e2:SetTarget(cm.sptg)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
......
......@@ -18,8 +18,8 @@ function cm.initial_effect(c)
e2:SetDescription(aux.Stringid(m,1))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e2:SetTarget(cm.thtg1)
e2:SetOperation(cm.thop1)
e2:SetTarget(cm.thtg)
e2:SetOperation(cm.thop)
c:RegisterEffect(e2)
end
function cm.thfilter(c)
......
......@@ -47,7 +47,7 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.cfilter,1,nil,tp,SUMMON_TYPE_FUSION)
end
function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and end
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
......
......@@ -142,7 +142,7 @@ function cm.efop2(e,tp,eg,ep,ev,re,r,rp)
if #g==1 then
local tg=g:FilterCount(Card.IsRelateToEffect,nil,e)
if #tg>0 then
Duel.Destroy(tg,REASON_EFFECT)
Duel.Destroy(tg,REASON_EFFECT) end
end
end
function cm.spfilter(c,e,tp)
......
......@@ -167,7 +167,7 @@ function cm.efop2(e,tp,eg,ep,ev,re,r,rp)
if #g==1 then
local tg=g:FilterCount(Card.IsRelateToEffect,nil,e)
if #tg>0 then
Duel.Destroy(tg,REASON_EFFECT)
Duel.Destroy(tg,REASON_EFFECT) end
end
end
function cm.spfilter(c,e,tp)
......
......@@ -16,9 +16,8 @@ function cm.initial_effect(c)
if chk==0 then return not c:IsPublic() and c:GetFlagEffect(m)==0 end
c:RegisterFlagEffect(m,RESET_CHAIN,0,1)
end)
e1:SetCondition(cm.condition)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
e1:SetTarget(cm.tstg)
e1:SetOperation(cm.tsop)
c:RegisterEffect(e1)
--to hand
local e1=Effect.CreateEffect(c)
......@@ -46,23 +45,23 @@ end)
e1:SetOperation(cm.thop)
c:RegisterEffect(e1)
end
function cm.thfilter(c)
function cm.tsfilter(c)
return c:IsCode(12070031) and c:IsAbleToHand()
end
function cm.lvfilter(c)
return c:IsFaceup() and c:IsLevelAbove(1)
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) and e:GetHandler():IsAbleToDeck() end
function cm.tstg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tsfilter,tp,LOCATION_DECK,0,1,nil) and e:GetHandler():IsAbleToDeck() end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
function cm.tsop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if (not Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil)) or not c:IsRelateToEffect(e) then return end
if (not Duel.IsExistingMatchingCard(cm.tsfilter,tp,LOCATION_DECK,0,1,nil)) or not c:IsRelateToEffect(e) then return end
if Duel.SendtoDeck(c,nil,2,REASON_EFFECT) ~=0 then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,cm.tsfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
......
......@@ -17,8 +17,8 @@ function cm.initial_effect(c)
if chk==0 then return not c:IsPublic() and c:GetFlagEffect(m)==0 end
c:RegisterFlagEffect(m,RESET_CHAIN,0,1)
end)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop)
c:RegisterEffect(e1)
--to hand
local e1=Effect.CreateEffect(c)
......
......@@ -17,8 +17,8 @@ function cm.initial_effect(c)
if chk==0 then return not c:IsPublic() and c:GetFlagEffect(m)==0 end
c:RegisterFlagEffect(m,RESET_CHAIN,0,1)
end)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
e1:SetTarget(cm.tstg)
e1:SetOperation(cm.tsop)
c:RegisterEffect(e1)
--to hand
local e1=Effect.CreateEffect(c)
......@@ -45,10 +45,10 @@ end)
e1:SetOperation(cm.thop)
c:RegisterEffect(e1)
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.tstg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToDeck() end
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
function cm.tsop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
if Duel.SendtoDeck(c,nil,2,REASON_EFFECT) ~=0 then
......
......@@ -17,8 +17,8 @@ function cm.initial_effect(c)
if chk==0 then return not c:IsPublic() and c:GetFlagEffect(m)==0 end
c:RegisterFlagEffect(m,RESET_CHAIN,0,1)
end)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop)
c:RegisterEffect(e1)
--to hand
local e1=Effect.CreateEffect(c)
......
......@@ -14,7 +14,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
--summon
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(12004004,0))
e3:SetDescription(aux.Stringid(m,0))
e3:SetCategory(CATEGORY_SUMMON)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
......@@ -40,17 +40,17 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(eg,REASON_EFFECT)
end
end
function c12004004.filter(c)
function cm.filter(c)
return c:IsSetCard(0xafa6) and c:IsSummonable(true,nil)
end
function c12004004.target1(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c12004004.filter,tp,LOCATION_HAND,0,1,nil) end
and Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_HAND,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
end
function c12004004.operation1(e,tp,eg,ep,ev,re,r,rp)
function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
local g=Duel.SelectMatchingCard(tp,c12004004.filter,tp,LOCATION_HAND,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_HAND,0,1,1,nil)
local tc=g:GetFirst()
if tc then
Duel.Summon(tp,tc,true,nil)
......
......@@ -21,8 +21,7 @@ function cm.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCountLimit(1,m+100)
e3:SetCondition(cm.spcon)
e3:SetCountLimit(1,m+100)
e3:SetTarget(cm.sptg)
e3:SetOperation(cm.spop)
c:RegisterEffect(e3)
......
......@@ -80,5 +80,7 @@ end
function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tc=Duel.SelectMatchingCard(tp,cm.filth,tp,LOCATION_DECK,0,1,1,nil)
if tc then Duel.SendtoHand(tc,tp,REASON_EFFECT) end
if tc then Duel.SendtoHand(tc,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
end
end
\ No newline at end of file
......@@ -11,7 +11,7 @@ function c12301102.initial_effect(c)
c:RegisterEffect(e0)
--yx
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetRange(LOCATION_FZONE)
......@@ -27,7 +27,8 @@ function c12301102.initial_effect(c)
e2:SetTargetRange(1,1)
e2:SetValue(
function(e,re,tp)
return re:GetHandler():IsLocation(LOCATION_DECK) end)
return re:GetHandler():IsLocation(LOCATION_DECK)
end)
c:RegisterEffect(e2)
--ep
local e3=Effect.CreateEffect(c)
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -22,7 +22,7 @@ function c18003007.filter(c)
end
function c18003007.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end\
if not c:IsRelateToEffect(e) then return end
if not (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1)) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,c18003007.filter,tp,LOCATION_DECK,0,1,1,nil)
......
......@@ -12,7 +12,7 @@ function c71400028.initial_effect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCountLimit(1,71400028)
e1:SetCountLimit(1,71400028)
e1:SetTarget(c71400028.tg1)
e1:SetOperation(c71400028.op1)
c:RegisterEffect(e1)
......
......@@ -10,7 +10,7 @@ function c71400034.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_FZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e:SetDescription(aux.Stringid(71400034,0))
e1:SetDescription(aux.Stringid(71400034,0))
e1:SetCountLimit(1)
e1:SetTarget(c71400034.tg1)
e1:SetOperation(c71400034.op1)
......
......@@ -90,7 +90,7 @@ function c71400049.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c71400049.op2(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and then
if tc:IsRelateToEffect(e) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end
end
\ No newline at end of file
......@@ -122,7 +122,7 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
elseif dc==3 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c71402000.filter2,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then Duel.SendtoGrave(g,REASON_EFFECT)>0 end
if g:GetCount()>0 then Duel.SendtoGrave(g,REASON_EFFECT) end
elseif dc==4 then
local thg=Duel.GetMatchingGroup(c71402000.filter3,tp,LOCATION_GRAVE,0,nil)
if thg:GetCount()>0
......
--枫叶乱舞·周子
local m=81040032
local m=81040033
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
......@@ -91,7 +91,7 @@ function c85402120.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=c:GetEquipTarget()
if chk==0 then return c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED) and c:IsAbleToHand()
and tc and tc:IsPosition(POS_FACEUP) and tc:IsAbleToDeck() end
return Duel.SelectEffectYesNo(tp,c,aux.Stringid(85401630,0))
Duel.SelectEffectYesNo(tp,c,aux.Stringid(85401630,0))
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler():GetEquipTarget(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,e:GetHandler(),1,0,0)
end
......
......@@ -67,10 +67,10 @@ function c86510003.initial_effect(c)
local e9=Effect.CreateEffect(c)
e9:SetType(EFFECT_TYPE_SINGLE)
e9:SetCode(EFFECT_MATERIAL_CHECK)
e9:SetValue(cm.valcheck)
e9:SetValue(c86510003.valcheck)
c:RegisterEffect(e9)
end
function cm.valcheck(e,c)
function c86510003.valcheck(e,c)
local g=c:GetMaterial()
if g:IsExists(Card.IsType,2,nil,TYPE_TUNER) then
local e1=Effect.CreateEffect(c)
......
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