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
4aa7791f
Commit
4aa7791f
authored
May 05, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
398bb751
Pipeline
#12460
passed with stages
in 26 minutes and 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
expansions/script/c17032790.lua
expansions/script/c17032790.lua
+2
-2
expansions/script/c33400711.lua
expansions/script/c33400711.lua
+5
-1
No files found.
expansions/script/c17032790.lua
View file @
4aa7791f
...
...
@@ -37,7 +37,7 @@ function c17032790.cfilter(c,e,tp)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
():
Filter
(
c17032790
.
spfilter
,
nil
,
e
,
tp
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c17032790
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
and
c
:
IsAbleToGrave
()
local
b2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
b1
or
(
b2
and
#
g
>
0
and
c
~=
e
:
GetHandler
())
return
b1
or
(
b2
and
#
g
>
0
and
c
~=
e
:
GetHandler
()
and
c
:
IsCanOverlay
()
)
end
function
c17032790
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c17032790
.
cfilter
(
chkc
,
e
,
tp
)
end
...
...
@@ -60,7 +60,7 @@ function c17032790.operation(e,tp,eg,ep,ev,re,r,rp)
opval
[
off
-
1
]
=
1
off
=
off
+
1
end
if
b2
and
#
g
>
0
and
tc
~=
c
then
if
b2
and
#
g
>
0
and
tc
~=
c
and
tc
:
IsCanOverlay
()
then
ops
[
off
]
=
aux
.
Stringid
(
17032790
,
3
)
opval
[
off
-
1
]
=
2
off
=
off
+
1
...
...
expansions/script/c33400711.lua
View file @
4aa7791f
...
...
@@ -41,18 +41,22 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
tc
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
ckfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
tc
:
IsType
(
TYPE_TRAP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
if
tc
:
IsType
(
TYPE_QUICKPLAY
)
then
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetCode
(
EFFECT_QP_ACT_IN_SET_TURN
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
end
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