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
Soulgamer
ygopro-222DIY-cards
Commits
3124b512
Commit
3124b512
authored
Jan 11, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 2
parent
c6285d14
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
101 deletions
+104
-101
expansions/script/c22600109.lua
expansions/script/c22600109.lua
+103
-100
expansions/script/c26809023.lua
expansions/script/c26809023.lua
+1
-1
No files found.
expansions/script/c22600109.lua
View file @
3124b512
...
...
@@ -74,8 +74,11 @@ end
function
cm
.
scon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_SPIRIT
)
>=
5
end
function
cm
.
sfilter
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
and
c
:
IsType
(
TYPE_SPIRIT
)
end
function
cm
.
filter2
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SPIRIT
)
and
c
:
IsAbleToHand
()
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsAttribute
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetAttribute
())
return
c
:
IsType
(
TYPE_SPIRIT
)
and
c
:
IsAbleToHand
()
and
not
Duel
.
IsExistingMatchingCard
(
cm
.
sfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetAttribute
())
end
function
cm
.
stg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
expansions/script/c26809023.lua
View file @
3124b512
...
...
@@ -71,7 +71,7 @@ function c26809023.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c26809023
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_EFFECT
)
return
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsFaceup
()
end
function
c26809023
.
handcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
...
...
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