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
5d73c006
Commit
5d73c006
authored
Oct 01, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fddb2b4a
Pipeline
#30154
passed with stages
in 39 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
expansions/script/c18700090.lua
expansions/script/c18700090.lua
+2
-2
expansions/script/c33401531.lua
expansions/script/c33401531.lua
+7
-0
No files found.
expansions/script/c18700090.lua
View file @
5d73c006
...
@@ -51,15 +51,15 @@ end
...
@@ -51,15 +51,15 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
fc
=
g1
:
GetFirst
()
if
g1
:
GetCount
()
==
0
then
return
end
if
g1
:
GetCount
()
==
0
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
m
,
1
))
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
m
,
1
))
local
g2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
):
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
):
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
g3
=
g1
:
Filter
(
Card
.
IsCode
,
nil
,
g1
:
GetFirst
():
GetCode
())
local
tc
=
g2
:
GetFirst
()
local
tc
=
g2
:
GetFirst
()
local
sg
=
Duel
.
ConfirmCards
(
tp
,
tc
)
local
sg
=
Duel
.
ConfirmCards
(
tp
,
tc
)
if
tc
==
g1
:
GetFirst
()
or
tc
==
g3
:
GetFirst
()
then
if
tc
:
GetCode
()
==
fc
:
GetCode
()
then
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c33401531.lua
View file @
5d73c006
...
@@ -31,6 +31,7 @@ function s.initial_effect(c)
...
@@ -31,6 +31,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
s
.
con
)
e2
:
SetValue
(
s
.
atlimit
)
e2
:
SetValue
(
s
.
atlimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
@@ -57,6 +58,12 @@ function s.efilter(e,re)
...
@@ -57,6 +58,12 @@ function s.efilter(e,re)
return
re
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
return
re
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
end
--
--
function
s
.
cfilter
(
c
)
return
c
:
IsCode
(
33401527
,
33401528
,
33401529
)
and
c
:
IsFaceup
()
end
function
s
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
atlimit
(
e
,
c
)
function
s
.
atlimit
(
e
,
c
)
return
c
:
IsFacedown
()
or
not
c
:
IsCode
(
33401527
,
33401528
,
33401529
)
return
c
:
IsFacedown
()
or
not
c
:
IsCode
(
33401527
,
33401528
,
33401529
)
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