Commit 041e5df2 authored by 聖園ミカ's avatar 聖園ミカ 🐟

54188

parent 2f12cfef
Pipeline #30753 passed with stage
in 29 minutes and 6 seconds
#created by ...
#main
5012603
5012618
5012635
5012999
11451711
11451713
11600201
11600202
12000128
12400049
12400091
12835107
12869005
12869010
12869015
12869020
12869065
12869070
12869075
12869080
16400328
16400329
16400330
16400331
16400332
16400333
16400345
16400346
16400347
16400348
16400349
16400350
17033540
17090014
18586085
18587084
20000000
20000175
20000176
20000177
20000178
20000179
20000180
20000181
20000182
20000183
20000450
20000451
20000452
20000453
20000454
20000455
20000456
20000457
20000458
20000459
20099997
20099998
20099999
#extra
5012277
5012408
5012634
5012636
5012968
9390027
11901440
12400093
12400094
12847098
12847127
12869025
12869030
12869035
12869040
!side
12869045
12869050
12869055
12869060
16400322
16400334
16400336
16400337
16400338
16400340
16400341
16400342
18586007
18586009
18586010
#created by ...
#main
18700001
18700007
18700009
18700021
18700023
18700026
18700036
18700075
18700080
18700103
18700105
18700115
18700122
18700124
18700125
18700128
18700130
18700132
18700134
18700136
29969000
29969001
29990000
29990001
29990002
29990130
29990131
29990310
29990315
29990350
29990360
31710001
31710003
31710007
31710008
31710009
31710011
31710017
31710018
31710020
31710021
31710023
31710024
31710025
31710027
33300517
33300600
33300602
33300603
33300604
33300605
33300607
33300610
33300611
#extra
18700011
18700016
18700018
18700067
18700100
18700107
18700109
18700112
18700117
18700120
18700126
18700137
18700139
21191001
29969185
!side
29990400
29990402
29990410
29990411
29990420
29990422
29990430
29990432
29990440
29990441
29990450
29990452
33300601
33300606
#created by ...
#main
47390105
47390106
47390136
47390137
47390166
47390191
47390192
47390193
47390194
47390195
47390196
47390219
47390256
47390285
47390286
47390287
50218137
50218208
52700628
53737006
53737021
53750001
53750002
53750003
53750004
53750005
53750006
53750007
53750008
53750009
53750010
53750011
53750012
53750013
53750015
53750016
53750017
53750018
53750019
53750020
60000056
60000057
60000058
60000059
60000061
60000062
60000063
60001108
60001113
60001115
60001116
60001124
60001127
#extra
31710005
31710013
31710015
31710019
31710022
31710026
47390126
47390186
47390216
47390217
47390218
47390276
47395006
47395007
!side
33400818
33401501
33720905
33777019
50218470
50220135
50221200
50222100
50224055
50224060
52700631
53750014
60000060
#created by ...
#main
60000127
60000128
60000129
60000130
60000131
60000132
60000133
60000134
60000135
60000136
60000137
60000138
60000139
60000140
60000141
60000142
60000143
60000144
60000145
60002009
60002010
60002011
60002012
60002013
60002014
60002015
60002016
60002017
60002018
60002019
60002020
60002021
60002022
60002023
60002024
60007146
60007147
60007148
60007149
60007150
60007152
60007153
60007154
60007155
60007163
60007164
60007167
60007169
60007173
60007174
60007175
60007176
60007177
60007178
60007179
#extra
60007151
60007156
60007157
60007158
60007159
60007160
60007161
60007162
60007166
60007168
60007170
60007171
60007172
60007186
60007187
!side
60007188
60007189
60007190
60007180
60007181
60007182
60007183
60007184
60007185
60007191
#created by ...
#main
60150604
60152901
60152902
60152903
60152904
60152905
60152906
60152907
60152913
60152921
60152922
60152923
60152924
60152925
60152926
60152927
61000001
61000002
61000003
61000004
61000005
61000006
61000007
61000011
61000015
61000016
61000018
61000019
61000020
61000021
61000022
61000023
61000024
61000025
61000029
61000030
61000031
61000035
61000036
61000038
61000039
61000040
61000041
61000042
61000043
61000044
61000101
64800232
64800237
64836057
65700105
65700110
65700115
65700120
65710006
#extra
60150616
61000008
61000009
61000010
61000013
61000014
61000017
61000026
61000027
61000028
61000032
61000033
!side
65700050
65700055
65700085
65700125
71400007
71400021
71400023
71400024
71400025
71400026
#created by ...
#main
62624575
62624580
62624585
62699700
62699703
62699706
62699709
62699712
62699715
62699718
62699724
62699727
62699733
62699781
62699784
62699787
65035235
65035237
65035239
65035241
65035243
65035245
65035246
65035248
65035250
65035252
65035254
65035256
65035257
65035258
65035259
65035260
65035261
65035262
65035264
65035266
65035268
65035270
65035272
65035274
65035276
65035278
75600022
75600023
75600173
79100240
79100250
79100260
79100270
79100280
79100290
79100300
79201000
79201001
79201002
79201003
79201004
79201006
79201008
79201010
#extra
62624160
62624415
62699739
62699742
62699748
62699757
62699760
75600013
75600024
75600025
75600174
!side
79100310
79100320
79100330
79100340
79100350
79201012
79201014
79201016
#created by ...
#main
81009047
81009048
81009070
81009071
81009072
81015056
81015057
81052001
81052002
81052003
82000400
82000405
82000410
82000420
82000430
82000435
82000440
82000450
82000455
82000460
82000465
82000470
82000475
82000481
82000485
82000497
82000500
82000502
82000504
82000505
82000507
82000509
82000511
82000515
82000525
82000529
82000530
82000535
82000540
82000545
82000553
82000555
82000570
82000590
82000593
82000596
82000599
98628036
#extra
81009069
81052005
81061005
82000434
82000480
82000484
82000490
82000493
82000495
82000550
82000564
82000574
82000584
!side
82000600
82000610
82000620
82000623
82000625
#created by ...
#main
#extra
81901058
81902000
81902001
81902002
81902003
81902004
81902005
81902006
81902007
81902008
81902009
81902010
81902011
!side
81902012
81902013
81902014
81902015
81902016
81902017
81902018
81902019
81902020
81902021
81902022
81902023
81902024
No preview for this file type
--龙门·近卫干员-陈
local cm,m,o=GetID()
function cm.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep2(c,cm.ffilter,3,99,true)
--th
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCountLimit(1,m)
e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop)
c:RegisterEffect(e1)
--cannot target
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e1:SetValue(aux.tgoval)
c:RegisterEffect(e1)
--indes
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetRange(LOCATION_MZONE)
e2:SetValue(aux.indoval)
c:RegisterEffect(e2)
--double atk
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_EXTRA_ATTACK)
e4:SetValue(1)
c:RegisterEffect(e4)
end
function cm.ffilter(c)
return c:IsFusionType(TYPE_RITUAL+TYPE_XYZ+TYPE_SYNCHRO+TYPE_LINK) and c:IsSetCard(0x362a)
end
function cm.thfil(c)
return c:IsAbleToHand() and (c:IsSetCard(0x962b) or c:IsSetCard(0xa62b))
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfil,tp,LOCATION_DECK,0,1,nil) and e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,tp,LOCATION_DECK)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(cm.thfil,tp,LOCATION_DECK,0,nil)
if g:GetCount()<=0 then return end
--Debug.Message("各位,记住,只有相互配合,才能高效行动。")
--Duel.Hint(HINT_SOUND,0,aux.Stringid(79029025,1))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
if Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_ONFIELD,1,nil) and c:GetMaterialCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
dg=Duel.SelectMatchingCard(tp,nil,tp,0,LOCATION_ONFIELD,1,c:GetMaterialCount(),nil)
--Debug.Message("闪!")
--Duel.Hint(HINT_SOUND,0,aux.Stringid(79029025,2))
Duel.Destroy(dg,REASON_EFFECT)
Duel.Damage(1-tp,dg:GetCount()*800,REASON_EFFECT)
end
end
--天灾信使·术士干员-艾雅法拉
local cm,m,o=GetID()
function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSynchroType,TYPE_MONSTER),aux.NonTuner(Card.IsSynchroType,TYPE_SYNCHRO),1)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.synlimit)
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCondition(cm.condition)
e2:SetTarget(cm.target)
e2:SetOperation(cm.operation)
c:RegisterEffect(e2)
--atk up
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_UPDATE_ATTACK)
e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0xc62a))
e3:SetValue(1500)
c:RegisterEffect(e2)
--destroy
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(m,1))
e4:SetCategory(CATEGORY_REMOVE)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_BATTLE_START)
e4:SetCondition(cm.descon)
e4:SetTarget(cm.destg)
e4:SetOperation(cm.desop)
c:RegisterEffect(e4)
--immune
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_UNCOPYABLE)
e5:SetRange(LOCATION_MZONE)
e5:SetCode(EFFECT_IMMUNE_EFFECT)
e5:SetValue(cm.efilter)
c:RegisterEffect(e5)
end
cm.material_type=TYPE_SYNCHRO
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end
function cm.tgfilter(c)
return c:IsAbleToHand() and (c:IsSetCard(0x962b) or c:IsSetCard(0xa62b))
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tgfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) and e:GetHandler():GetMaterialCount()>0 end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local x=e:GetHandler():GetMaterialCount()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.tgfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
--Debug.Message("除了武器,您也别忘记准备防灾用具哦~")
--Duel.Hint(HINT_SOUND,0,aux.Stringid(79029035,0))
end
end
function cm.descon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
return bc
end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,e:GetHandler():GetBattleTarget(),1,0,0)
end
function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local bc=e:GetHandler():GetBattleTarget()
local x=bc:GetAttack()
if bc:IsRelateToBattle() then
Duel.Remove(bc,POS_FACEDOWN,REASON_EFFECT)
Duel.Damage(1-tp,x,REASON_EFFECT)
--Debug.Message("可能有点热哦?")
--Duel.Hint(HINT_SOUND,0,aux.Stringid(79029035,1))
end
end
function cm.efilter(e,te)
if te:IsActiveType(TYPE_SPELL+TYPE_TRAP) then return true
else return aux.qlifilter(e,te) end
end
--企鹅物流·辅助干员-空
local cm,m,o=GetID()
function cm.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,
0xa62c),aux.FilterBoolFunction(Card.IsFusionSetCard,0x362a),true)
aux.AddContactFusionProcedure(c,Card.IsReleasable,LOCATION_MZONE,0,Duel.Release,REASON_COST+REASON_FUSION+REASON_MATERIAL)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_DISABLE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetTarget(cm.distg)
c:RegisterEffect(e1)
--cannot attack
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_ATTACK)
c:RegisterEffect(e2)
--CANNOT_CHANGE_POSITION
local e3=e1:Clone()
e3:SetCode(EFFECT_CANNOT_CHANGE_POSITION)
c:RegisterEffect(e3)
--atk up
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(m,0))
e4:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetHintTiming(0,TIMING_END_PHASE)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1,m)
e4:SetCost(cm.atkcost)
e4:SetTarget(cm.atktg)
e4:SetOperation(cm.atkop)
c:RegisterEffect(e4)
end
function cm.distg(e,c)
return c:GetDefense()<=e:GetHandler():GetDefense()
end
function cm.filter(c)
return c:IsFaceup()
end
function cm.ckfil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x962b)
end
function cm.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.ckfil,tp,LOCATION_GRAVE,0,1,nil) end
local g=Duel.SelectMatchingCard(tp,cm.ckfil,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_MZONE,0,1,nil) end
end
function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
--Debug.Message("大家加油~!")
--Duel.Hint(HINT_SOUND,0,aux.Stringid(79029052,0))
local g=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_MZONE,0,nil)
local tc=g:GetFirst()
while tc do
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(tc:GetAttack()*1/2)
tc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UPDATE_DEFENSE)
e2:SetValue(tc:GetDefense()*1/2)
tc:RegisterEffect(e2)
tc=g:GetNext()
end
end
\ No newline at end of file
......@@ -1062,7 +1062,6 @@
!setname 0x362b 医疗干员
!setname 0x562b 辅助干3
!setname 0x662b 特种干员
!setname 0x962b 行动
!setname 0xa62b 部署
!setname 0xc62b 据点
!setname 0x362c 罗德岛
......@@ -1522,9 +1521,7 @@
!setname 0x3ef7 圣化
!setname 0x5ef7 黯雾
!setname 0x3ef8 御三家
!setname 0x5ef8 起源
!setname 0x6ef8 心魂
!setname 0x9ef8 宝石
!setname 0x3ef9 口袋精灵
#奇跡の早苗 2060043514 961 0x7e0-0x7ef
......
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