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
70aa656a
Commit
70aa656a
authored
Aug 03, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
96bd9079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
expansions/script/c33400100.lua
expansions/script/c33400100.lua
+4
-3
No files found.
expansions/script/c33400100.lua
View file @
70aa656a
...
...
@@ -51,11 +51,12 @@ function cm.down(c)
return
c
:
IsSetCard
(
0x3340
)
or
c
:
IsSetCard
(
0x3341
)
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
GetPreviousLocation
()
==
LOCATION_ONFIELD
and
c
:
GetPreviousControler
()
==
tp
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
end
function
cm
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsExists
(
cm
.
cfilter
,
1
,
nil
,
tp
)
then
e
:
GetHandler
():
AddCounter
(
0x34f
,
1
)
local
ct
=
eg
:
FilterCount
(
cm
.
cfilter
,
nil
,
tp
)
if
ct
>
0
then
e
:
GetHandler
():
AddCounter
(
0x34f
,
ct
,
true
)
end
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