Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HiiragiGuardians
ygopro-THC-cards
Commits
5443d9a2
Commit
5443d9a2
authored
Apr 19, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c20229.lua 更新召唤手续
parent
d1da37ef
Pipeline
#35284
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
33 deletions
+24
-33
script/c20229.lua
script/c20229.lua
+24
-33
No files found.
script/c20229.lua
View file @
5443d9a2
--白玉潇潇✿魂魄妖梦
function
c20229
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x208
),
1
)
c
:
EnableReviveLimit
()
--synchro summon
aux
.
AddSynchroMixProcedure
(
c
,
c20229
.
matfilter1
,
nil
,
nil
,
c20229
.
matfilter2
,
1
,
99
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
20229
,
0
))
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetCode
(
EFFECT_S
PSUMMON_PROC
)
e0
:
SetProperty
(
EFFECT_FLAG_
UNCOPY
ABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e0
:
SetCode
(
EFFECT_S
YNCHRO_LEVEL_EX
)
e0
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DIS
ABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e0
:
SetRange
(
LOCATION_EXTRA
)
e0
:
Set
Condition
(
c20229
.
spcon
)
e0
:
Set
Operation
(
c20229
.
spop
)
e0
:
SetValue
(
SUMMON_TYPE_SYNCHRO
)
e0
:
Set
TargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e0
:
Set
Target
(
c20229
.
syntg
)
e0
:
SetValue
(
c20229
.
synval
)
c
:
RegisterEffect
(
e0
)
--wan jian gui zong !
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -38,28 +36,21 @@ function c20229.initial_effect(c)
e3
:
SetOperation
(
c20229
.
spop2
)
c
:
RegisterEffect
(
e3
)
end
function
c20229
.
sprfilter1
(
c
,
tp
,
syn
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
GetSynchroLevel
(
syn
)
==
2
and
Duel
.
IsExistingMatchingCard
(
c20229
.
sprfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
syn
)
and
c
:
IsCanBeSynchroMaterial
(
syn
)
function
c20229
.
matfilter1
(
c
,
syncard
)
return
c
:
IsTuner
(
syncard
)
or
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x713
)
end
function
c20229
.
sprfilter2
(
c
,
syn
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x713
)
function
c20229
.
matfilter2
(
c
,
syncard
)
return
(
c
:
IsNotTuner
(
syncard
)
or
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x713
))
and
c
:
IsSetCard
(
0x208
)
end
function
c20229
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
IsExistingMatchingCard
(
c20229
.
sprfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
function
c20229
.
syntg
(
e
,
c
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x713
)
end
function
c20229
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c20229
.
sprfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c20229
.
sprfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
g1
,
c
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
+
REASON_SYNCHRO
)
c
:
SetMaterial
(
g1
)
c
:
CompleteProcedure
()
function
c20229
.
synval
(
e
,
syncard
)
if
e
:
GetHandler
()
==
syncard
then
return
4
else
return
0
end
end
function
c20229
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
@@ -80,12 +71,12 @@ end
function
c20229
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c20229
.
eqfilter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
12
,
nil
,
tc
)
local
ec
=
sg
:
GetFirst
()
while
ec
and
ec
:
CheckEquipTarget
(
tc
)
do
Duel
.
Equip
(
tp
,
ec
,
tc
)
ec
=
sg
:
GetNext
()
end
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c20229
.
eqfilter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
12
,
nil
,
tc
)
local
ec
=
sg
:
GetFirst
()
while
ec
and
ec
:
CheckEquipTarget
(
tc
)
do
Duel
.
Equip
(
tp
,
ec
,
tc
)
ec
=
sg
:
GetNext
()
end
end
end
function
c20229
.
cfilter2
(
c
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment