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
b128f90e
Commit
b128f90e
authored
Jul 24, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
eba3f42d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100254003.lua
script/c100254003.lua
+3
-2
script/c100254004.lua
script/c100254004.lua
+1
-1
script/c100309001.lua
script/c100309001.lua
+2
-2
script/c100413035.lua
script/c100413035.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
b128f90e
No preview for this file type
script/c100254003.lua
View file @
b128f90e
...
@@ -51,10 +51,11 @@ function c100254003.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,10 +51,11 @@ function c100254003.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c100254003
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100254003
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
return
e
:
GetHandler
():
GetOverlayCount
()
==
0
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
end
function
c100254003
.
spfilter
(
c
,
e
,
tp
,
mc
)
function
c100254003
.
spfilter
(
c
,
e
,
tp
,
mc
)
return
c
:
IsSetCard
(
0x119
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x119
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
end
end
function
c100254003
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100254003
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c100254004.lua
View file @
b128f90e
...
@@ -63,7 +63,7 @@ function c100254004.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c100254004.activate(e,tp,eg,ep,ev,re,r,rp)
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_LINK
)
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
then
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_LINK
)
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
then
if
res
~=
0
then
Duel
.
BreakEffect
()
end
if
res
~=
0
then
Duel
.
BreakEffect
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
g2
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
1
,
nil
,
LOCATION_GRAVE
)
local
rg
=
g2
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
3
,
nil
,
LOCATION_GRAVE
)
Duel
.
HintSelection
(
rg
)
Duel
.
HintSelection
(
rg
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
...
...
script/c100309001.lua
View file @
b128f90e
...
@@ -65,14 +65,14 @@ function c100309001.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,14 +65,14 @@ function c100309001.eqcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c100309001
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100309001
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
end
end
function
c100309001
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100309001
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
aux
.
ExceptThisCard
(
e
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
aux
.
ExceptThisCard
(
e
))
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
true
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
true
)
then
return
end
...
...
script/c100413035.lua
View file @
b128f90e
...
@@ -17,7 +17,7 @@ function c100413035.filter1(c,tp)
...
@@ -17,7 +17,7 @@ function c100413035.filter1(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c100413035
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c100413035
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
function
c100413035
.
filter2
(
c
)
function
c100413035
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x232
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x232
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
c
:
IsCode
(
100413035
)
and
c
:
IsAbleToHand
()
end
end
function
c100413035
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100413035
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100413035
.
filter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100413035
.
filter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
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