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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
f40ae3c5
Commit
f40ae3c5
authored
Oct 15, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dcf2f9d8
Pipeline
#30455
passed with stages
in 45 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
expansions/script/c11901440.lua
expansions/script/c11901440.lua
+4
-4
expansions/script/c53722005.lua
expansions/script/c53722005.lua
+1
-3
No files found.
expansions/script/c11901440.lua
View file @
f40ae3c5
...
@@ -55,7 +55,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
end
function
s
.
tdfi1ter
(
c
)
function
s
.
tdfi1ter
(
c
)
return
c
:
IsSetCard
(
0x409
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x409
)
and
c
:
IsAbleToDeck
()
and
not
c
:
IsCode
(
11901440
)
and
not
(
c
:
IsLocation
(
0x20
)
and
c
:
IsFacedown
())
and
not
(
c
:
IsLocation
(
0x20
)
and
c
:
IsFacedown
())
end
end
function
s
.
scon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
scon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -64,12 +64,12 @@ function s.scon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,12 +64,12 @@ function s.scon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousPosition
(
0x5
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
and
c
:
IsPreviousPosition
(
0x5
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
end
end
function
s
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
tdfi1ter
,
tp
,
0x30
,
0
,
1
,
e
:
GetHandler
()
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
tdfi1ter
,
tp
,
0x30
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
0x10
,
nil
,
1
,
tp
,
0x30
)
Duel
.
SetOperationInfo
(
0
,
0x10
,
nil
,
1
,
tp
,
0x30
)
end
end
function
s
.
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
3
,
tp
,
50
6
)
Duel
.
Hint
(
3
,
tp
,
50
7
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
tdfi1ter
),
tp
,
0x30
,
0
,
1
,
5
,
e
:
GetHandler
()
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
tdfi1ter
),
tp
,
0x30
,
0
,
1
,
5
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
0x40
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
0x40
)
...
...
expansions/script/c53722005.lua
View file @
f40ae3c5
...
@@ -50,9 +50,7 @@ function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,9 +50,7 @@ function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
ctg
)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
ctg
)
if
tg
then
if
tg
then
if
tg
:
IsExists
(
cm
.
nfilter
,
1
,
nil
)
then
return
true
end
if
tg
:
IsExists
(
cm
.
nfilter
,
1
,
nil
)
then
return
true
end
elseif
v
and
v
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
nfilter
,
tp
,
v
,
0
,
1
,
nil
)
then
elseif
v
and
v
>
0
and
p
==
tp
and
Duel
.
IsExistingMatchingCard
(
cm
.
nfilter
,
tp
,
v
,
0
,
1
,
nil
)
then
return
true
end
return
true
end
end
end
return
false
return
false
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