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
Ai
ygopro-222DIY-cards
Commits
b836b52f
Commit
b836b52f
authored
May 15, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mercury233
parent
993ecdd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
expansions/script/c26807058.lua
expansions/script/c26807058.lua
+1
-1
expansions/script/c26809002.lua
expansions/script/c26809002.lua
+1
-1
No files found.
expansions/script/c26807058.lua
View file @
b836b52f
...
@@ -17,7 +17,7 @@ function c26807058.counterfilter(c)
...
@@ -17,7 +17,7 @@ function c26807058.counterfilter(c)
return
c
:
IsSummonType
(
SUMMON_TYPE_RITUAL
)
return
c
:
IsSummonType
(
SUMMON_TYPE_RITUAL
)
end
end
function
c26807058
.
costfilter
(
c
)
function
c26807058
.
costfilter
(
c
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsFaceup
(
)
and
c
:
IsAbleToGraveAsCost
()
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_HAND
)
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c26807058
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26807058
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c26807058
.
costfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetCustomActivityCount
(
26807058
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c26807058
.
costfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetCustomActivityCount
(
26807058
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
...
...
expansions/script/c26809002.lua
View file @
b836b52f
...
@@ -43,7 +43,7 @@ function cm.ffilter(c)
...
@@ -43,7 +43,7 @@ function cm.ffilter(c)
return
c
:
IsLevelBelow
(
6
)
and
(
c
:
IsFusionType
(
TYPE_FUSION
)
or
bit
.
band
(
c
:
GetFusionType
(),
0x81
)
==
0x81
)
return
c
:
IsLevelBelow
(
6
)
and
(
c
:
IsFusionType
(
TYPE_FUSION
)
or
bit
.
band
(
c
:
GetFusionType
(),
0x81
)
==
0x81
)
end
end
function
cm
.
val
(
e
,
c
)
function
cm
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
0
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
nil
)
*
300
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
)
*
300
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
(
c
:
IsLevelBelow
(
6
)
and
(
c
:
IsType
(
TYPE_FUSION
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
))
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
return
(
c
:
IsLevelBelow
(
6
)
and
(
c
:
IsType
(
TYPE_FUSION
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
))
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
...
...
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