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
1a9dcd0c
Commit
1a9dcd0c
authored
Feb 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
9fdc7b34
Pipeline
#9284
passed with stage
in 11 minutes and 38 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
16 deletions
+18
-16
expansions/script/c12004023.lua
expansions/script/c12004023.lua
+1
-1
expansions/script/c23000320.lua
expansions/script/c23000320.lua
+1
-1
expansions/script/c35100101.lua
expansions/script/c35100101.lua
+1
-1
expansions/script/c9330018.lua
expansions/script/c9330018.lua
+15
-13
No files found.
expansions/script/c12004023.lua
View file @
1a9dcd0c
...
...
@@ -83,7 +83,7 @@ function c12004023.atkval(e,c)
end
function
c12004023
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandler
():
GetControler
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c12004023
.
efilter
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
...
...
expansions/script/c23000320.lua
View file @
1a9dcd0c
...
...
@@ -76,5 +76,5 @@ function c23000320.filter(c)
return
c
:
GetSequence
()
<
5
end
function
c23000320
.
handcon
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c23000320
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
c23000320
.
filter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
\ No newline at end of file
expansions/script/c35100101.lua
View file @
1a9dcd0c
...
...
@@ -72,7 +72,7 @@ function cm.negop(e,tp,eg,ep,ev,re,r,rp)
local
b1
=
Duel
.
IsExistingMatchingCard
(
cm
.
mvfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
local
b2
=
Duel
.
IsExistingMatchingCard
(
cm
.
mvfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
local
op
=
0
local
op
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
))
elseif
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
))
+
1
...
...
expansions/script/c9330018.lua
View file @
1a9dcd0c
...
...
@@ -83,38 +83,40 @@ function c9330018.thfilter(c,tp)
return
c
:
IsSetCard
(
0xaf93
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c9330018
.
actg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
p
=
e
:
GetHandler
():
GetControler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9330018
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
nil
,
t
p
)
return
Duel
.
IsExistingMatchingCard
(
c9330018
.
filter
,
p
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
nil
,
p
)
or
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
0
,
LOCATION_FZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c9330018
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
t
p
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
t
p
,
aux
.
Stringid
(
9330018
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
t
p
,
LOCATION_DECK
)
and
Duel
.
IsExistingMatchingCard
(
c9330018
.
thfilter
,
p
,
LOCATION_DECK
,
0
,
1
,
nil
,
p
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
p
,
aux
.
Stringid
(
9330018
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
p
,
LOCATION_DECK
)
end
function
c9330018
.
acop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
=
e
:
GetHandler
():
GetControler
()
b
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
0
,
LOCATION_FZONE
,
0
,
1
,
nil
)
if
b
and
Duel
.
IsExistingMatchingCard
(
c9330018
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
and
(
not
Duel
.
IsExistingMatchingCard
(
c9330018
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
Duel
.
SelectYesNo
(
t
p
,
aux
.
Stringid
(
9330018
,
2
)))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
t
p
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9330018
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
t
p
)
if
b
and
Duel
.
IsExistingMatchingCard
(
c9330018
.
thfilter
,
p
,
LOCATION_DECK
,
0
,
1
,
nil
,
p
)
and
(
not
Duel
.
IsExistingMatchingCard
(
c9330018
.
filter
,
p
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
9330018
,
2
)))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
p
,
c9330018
.
thfilter
,
p
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
p
)
local
tc
=
g
:
GetFirst
()
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
t
p
,
tc
)
Duel
.
ConfirmCards
(
1
-
p
,
tc
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c9330018
.
filter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
t
p
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
p
,
aux
.
NecroValleyFilter
(
c9330018
.
filter
),
p
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
p
):
GetFirst
()
if
tc
then
local
fc
=
Duel
.
GetFieldCard
(
t
p
,
LOCATION_FZONE
,
0
)
local
fc
=
Duel
.
GetFieldCard
(
p
,
LOCATION_FZONE
,
0
)
if
fc
then
Duel
.
SendtoGrave
(
fc
,
REASON_RULE
)
Duel
.
BreakEffect
()
end
Duel
.
MoveToField
(
tc
,
tp
,
t
p
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
p
,
p
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
local
te
=
tc
:
GetActivateEffect
()
te
:
UseCountLimit
(
t
p
,
1
,
true
)
te
:
UseCountLimit
(
p
,
1
,
true
)
local
tep
=
tc
:
GetControler
()
local
cost
=
te
:
GetCost
()
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
RaiseEvent
(
tc
,
4179255
,
te
,
0
,
tp
,
t
p
,
Duel
.
GetCurrentChain
())
Duel
.
RaiseEvent
(
tc
,
4179255
,
te
,
0
,
p
,
p
,
Duel
.
GetCurrentChain
())
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