Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
e6b3e5e9
Commit
e6b3e5e9
authored
Aug 18, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f71b29ca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
script/c100419022.lua
script/c100419022.lua
+1
-1
script/c101111001.lua
script/c101111001.lua
+4
-3
script/c101111044.lua
script/c101111044.lua
+3
-3
script/c101111051.lua
script/c101111051.lua
+2
-2
No files found.
script/c100419022.lua
View file @
e6b3e5e9
...
@@ -64,7 +64,7 @@ function s.xtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -64,7 +64,7 @@ function s.xtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCanOverlay
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCanOverlay
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsCanOverlay
,
tp
,
0
,
LOCATION_
MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsCanOverlay
,
tp
,
0
,
LOCATION_
ONFIELD
,
1
,
1
,
nil
)
end
end
function
s
.
xop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
xop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c101111001.lua
View file @
e6b3e5e9
...
@@ -29,12 +29,13 @@ function c101111001.spfilter(c)
...
@@ -29,12 +29,13 @@ function c101111001.spfilter(c)
end
end
function
c101111001
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111001
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
not
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
Duel
.
IsExistingMatchingCard
(
c101111001
.
spfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c101111001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101111001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
and
Duel
.
IsExistingMatchingCard
(
c101111001
.
spfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
c
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
function
c101111001
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111001
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c101111044.lua
View file @
e6b3e5e9
...
@@ -63,14 +63,14 @@ function c101111044.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,14 +63,14 @@ function c101111044.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
function
c101111044
.
cfilter
(
c
)
function
c101111044
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsControler
(
tp
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c101111044
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111044
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101111044
.
cfilter
,
1
,
nil
)
return
eg
:
IsExists
(
c101111044
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c101111044
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c101111044
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
eg
:
Filter
(
c101111044
.
cfilter
,
nil
):
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
local
g
=
eg
:
Filter
(
c101111044
.
cfilter
,
nil
,
tp
):
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
IsInGroup
(
chkc
,
g
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
IsInGroup
(
chkc
,
g
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
IsInGroup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
g
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
IsInGroup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
g
)
end
local
sg
local
sg
...
...
script/c101111051.lua
View file @
e6b3e5e9
...
@@ -34,11 +34,11 @@ function c101111051.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,11 +34,11 @@ function c101111051.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
end
end
end
function
c101111051
.
cfilter
(
c
)
function
c101111051
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsCode
(
93717133
)
return
c
:
IsControler
(
tp
)
and
c
:
IsCode
(
93717133
)
end
end
function
c101111051
.
cfcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111051
.
cfcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101111051
.
cfilter
,
1
,
nil
)
return
eg
:
IsExists
(
c101111051
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c101111051
.
cftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101111051
.
cftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
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