Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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-scripts
Commits
eab08df5
Commit
eab08df5
authored
Dec 04, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8c2c7cad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c13048472.lua
c13048472.lua
+1
-1
c94666032.lua
c94666032.lua
+1
-1
No files found.
c13048472.lua
View file @
eab08df5
...
@@ -18,7 +18,7 @@ function c13048472.filter2(c,mc)
...
@@ -18,7 +18,7 @@ function c13048472.filter2(c,mc)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsAbleToHand
()
and
c13048472
.
isfit
(
c
,
mc
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsAbleToHand
()
and
c13048472
.
isfit
(
c
,
mc
)
end
end
function
c13048472
.
isfit
(
c
,
mc
)
function
c13048472
.
isfit
(
c
,
mc
)
return
mc
.
fit_monster
and
c
:
IsCode
(
table.unpack
(
mc
.
fit_monster
))
return
(
mc
.
fit_monster
and
c
:
IsCode
(
table.unpack
(
mc
.
fit_monster
)))
or
aux
.
IsCodeListed
(
mc
,
c
:
GetCode
(
))
end
end
function
c13048472
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13048472
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c13048472
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c13048472
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
c94666032.lua
View file @
eab08df5
...
@@ -18,7 +18,7 @@ function c94666032.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c94666032.initial_effect(c)
e2
:
SetOperation
(
c94666032
.
repop
)
e2
:
SetOperation
(
c94666032
.
repop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c94666032
.
fit_monster
=
{
4388680
}
c94666032
.
card_code_list
=
{
4388680
}
function
c94666032
.
filter
(
c
,
e
,
tp
,
m1
,
m2
,
ft
)
function
c94666032
.
filter
(
c
,
e
,
tp
,
m1
,
m2
,
ft
)
if
not
c
:
IsSetCard
(
0x106
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
if
not
c
:
IsSetCard
(
0x106
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
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