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
4083c1a5
Commit
4083c1a5
authored
Jul 25, 2025
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 21123
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
2b9b6af3
Pipeline
#39520
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
script/c21123.lua
script/c21123.lua
+12
-13
No files found.
script/c21123.lua
View file @
4083c1a5
--不死「徐福时空」
function
c21123
.
initial_effect
(
c
)
local
s
,
id
=
GetID
()
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -35,8 +34,8 @@ function c21123.initial_effect(c)
e5
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCondition
(
s
.
thcon
)
e5
:
SetOperation
(
s
.
thop
)
e5
:
SetCondition
(
c21123
.
thcon
)
e5
:
SetOperation
(
c21123
.
thop
)
c
:
RegisterEffect
(
e5
)
-- Quick Spell/Normal Trap
...
...
@@ -44,23 +43,23 @@ function c21123.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCondition
(
s
.
drcon
)
e4
:
SetOperation
(
s
.
drop
)
e4
:
SetCondition
(
c21123
.
drcon
)
e4
:
SetOperation
(
c21123
.
drop
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
thfilter
(
c
)
function
c21123
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x137
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21123
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x137
)
and
(
re
:
GetActiveType
()
==
TYPE_SPELL
or
re
:
IsActiveType
(
TYPE_MONSTER
))
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c21123
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
function
c21123
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
21123
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
then
...
...
@@ -69,13 +68,13 @@ function s.thop(e, tp, eg, ep, ev, re, r, rp)
end
end
function
s
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21123
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x137
)
and
(
re
:
GetActiveType
()
==
TYPE_QUICK_SPELL
or
re
:
GetActiveType
()
==
TYPE_TRAP
)
end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
function
c21123
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
21123
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
)
end
...
...
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