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
276e853d
Commit
276e853d
authored
Jun 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
f097120d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
expansions/script/c16107110.lua
expansions/script/c16107110.lua
+8
-2
No files found.
expansions/script/c16107110.lua
View file @
276e853d
...
...
@@ -43,8 +43,14 @@ function cm.reset(e,tp,eg,ep,ev,re,r,rp)
Sr_GODback
=
{}
Sr_GODback
[
1
]
=
0
end
function
GetOr
(
tab
)
local
num
=
0
for
i
,
v
in
ipairs
(
tab
)
do
num
=
num
|
v
end
return
num
end
function
cm
.
actcon
(
e
,
tp
)
Debug
.
Message
(
e
:
GetHandlerPlayer
())
return
Duel
.
GetMatchingGroupCount
(
cm
.
gfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
nil
)
>
0
end
function
cm
.
gfilter
(
c
)
...
...
@@ -56,7 +62,7 @@ function cm.splimit(e,c)
end
----
function
cm
.
sumfilter
(
c
,
e
,
tp
,
att
)
return
(
c
:
IsSetCard
(
0x5ccc
)
or
(
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsLevel
(
10
)))
and
not
c
:
IsAttribute
(
att
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
rsof
.
Table_List
(
Sr_GODback
,
c
:
GetAttribute
(
))
return
(
c
:
IsSetCard
(
0x5ccc
)
or
(
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsLevel
(
10
)))
and
not
c
:
IsAttribute
(
att
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsAttribute
(
GetOr
(
Sr_GODback
))
end
function
cm
.
spmfilter
(
c
,
e
,
tp
)
local
att
=
c
:
GetAttribute
()
...
...
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