Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
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
Ai
ygopro-222DIY-cards
Commits
c463aeb7
Commit
c463aeb7
authored
Jun 19, 2024
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 42s func name
parent
5ecf2a29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c4270002.lua
expansions/script/c4270002.lua
+2
-2
No files found.
expansions/script/c4270002.lua
View file @
c463aeb7
...
@@ -38,7 +38,7 @@ function c4270002.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -38,7 +38,7 @@ function c4270002.target(e,tp,eg,ep,ev,re,r,rp,chk)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c4270002
.
thfilter
1
(
c
)
function
c4270002
.
thfilter
(
c
)
return
c
:
IsCode
(
4270008
)
and
c
:
IsFaceup
()
return
c
:
IsCode
(
4270008
)
and
c
:
IsFaceup
()
end
end
function
c4270002
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4270002
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -47,7 +47,7 @@ function c4270002.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c4270002.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
tc
:
IsRelateToEffect
(
re
)
and
and
tc
:
IsRelateToEffect
(
re
)
and
Duel
.
IsExistingMatchingCard
(
c4270002
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
then
Duel
.
IsExistingMatchingCard
(
c4270002
.
th
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
then
if
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
or
(
tc
:
IsFacedown
()
and
not
tc
:
IsLocation
(
LOCATION_HAND
))
then
return
end
if
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
or
(
tc
:
IsFacedown
()
and
not
tc
:
IsLocation
(
LOCATION_HAND
))
then
return
end
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
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