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
4fa1c535
Commit
4fa1c535
authored
Aug 19, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmp
parent
6afaee2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
expansions/script/c77765007.lua
expansions/script/c77765007.lua
+6
-5
No files found.
expansions/script/c77765007.lua
View file @
4fa1c535
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
e
:
SetCategory
(
0
)
e
:
SetCategory
(
0
)
end
,
end
,
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
function
generate
(
p
)
--[[
local function generate(p)
local afilter={}
local afilter={}
local first=true
local first=true
for code,effect_list in pairs(cm[p]) do
for code,effect_list in pairs(cm[p]) do
...
@@ -39,12 +39,13 @@ function cm.initial_effect(c)
...
@@ -39,12 +39,13 @@ function cm.initial_effect(c)
end
end
return afilter
return afilter
end
end
if
chk
==
0
then
return
#
generate
(
1
-
tp
)
>
0
end
if chk==0 then return #generate(1-tp)>0 end]]
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
cm
.
announce_filter
=
generate
(
1
-
tp
)
--
cm.announce_filter=generate(1-tp)
local
ac
=
Duel
.
AnnounceCard
Filter
(
tp
,
table.unpack
(
cm
.
announce_filter
)
)
local
ac
=
Duel
.
AnnounceCard
(
tp
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD_FILTER
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
,
end
,
}
}
local
operation_list
=
{
local
operation_list
=
{
...
...
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