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
d14f8557
Commit
d14f8557
authored
Apr 13, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9bb3aac7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
script/c100200163.lua
script/c100200163.lua
+1
-1
script/c101009065.lua
script/c101009065.lua
+6
-6
No files found.
script/c100200163.lua
View file @
d14f8557
...
@@ -57,7 +57,7 @@ end
...
@@ -57,7 +57,7 @@ end
function
c100200163
.
rmfilter2
(
c
,
e
,
tp
)
function
c100200163
.
rmfilter2
(
c
,
e
,
tp
)
local
type
=
bit
.
band
(
c
:
GetType
(),
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
local
type
=
bit
.
band
(
c
:
GetType
(),
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
return
c
:
IsType
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
and
c
:
IsAbleToRemove
()
return
c
:
IsType
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
and
c
:
IsAbleToRemove
()
and
Duel
.
IsExistingMatchingCard
(
c100200163
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
type
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c100200163
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
e
,
tp
,
type
)
end
end
function
c100200163
.
spfilter
(
c
,
e
,
tp
,
type
)
function
c100200163
.
spfilter
(
c
,
e
,
tp
,
type
)
return
c
:
IsType
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
and
not
c
:
IsType
(
type
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
and
not
c
:
IsType
(
type
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c101009065.lua
View file @
d14f8557
...
@@ -35,10 +35,10 @@ function c101009065.reptg1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -35,10 +35,10 @@ function c101009065.reptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
eg
:
IsExists
(
c101009065
.
repfilter1
,
1
,
c
,
tp
)
if
chk
==
0
then
return
eg
:
IsExists
(
c101009065
.
repfilter1
,
1
,
c
,
tp
)
and
c
:
IsDestructable
(
e
)
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
and
c
:
IsDestructable
(
e
)
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
if
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
then
if
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
then
local
sg
=
eg
local
sg
=
eg
:
Filter
(
c101009065
.
repfilter1
,
c
,
tp
)
if
eg
:
FilterCount
(
c101009065
.
repfilter1
,
1
,
c
,
tp
)
>
1
then
if
sg
:
GetCount
(
)
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101009065
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101009065
,
0
))
sg
=
eg
:
FilterSelect
(
tp
,
c101009065
.
repfilter1
,
1
,
1
,
c
,
tp
)
sg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
end
end
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
return
true
return
true
...
@@ -59,10 +59,10 @@ function c101009065.reptg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -59,10 +59,10 @@ function c101009065.reptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
eg
:
IsExists
(
c101009065
.
repfilter2
,
1
,
nil
,
tp
)
and
c
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
eg
:
IsExists
(
c101009065
.
repfilter2
,
1
,
nil
,
tp
)
and
c
:
IsAbleToRemove
()
end
if
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
then
if
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
then
local
sg
=
eg
local
sg
=
eg
:
Filter
(
c101009065
.
repfilter2
,
nil
,
tp
)
if
eg
:
FilterCount
(
c101009065
.
repfilter2
,
1
,
nil
,
tp
)
>
1
then
if
sg
:
GetCount
(
)
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101009065
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101009065
,
0
))
sg
=
eg
:
FilterSelect
(
tp
,
c101009065
.
repfilter2
,
1
,
1
,
nil
,
tp
)
sg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
end
end
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
return
true
return
true
...
...
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