Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
8888fedf
Commit
8888fedf
authored
May 17, 2022
by
Chrono-Genex
Committed by
GitHub
May 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Token Collector (#1885)
parent
d7486e75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
c43534808.lua
c43534808.lua
+8
-1
No files found.
c43534808.lua
View file @
8888fedf
--トークンコレクター
function
c43534808
.
initial_effect
(
c
)
--same effect send this card to grave and spsummon another card check
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
43534808
,
0
))
...
...
@@ -9,6 +11,7 @@ function c43534808.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
43534808
)
e1
:
SetLabelObject
(
e0
)
e1
:
SetCondition
(
c43534808
.
spcon
)
e1
:
SetTarget
(
c43534808
.
sptg
)
e1
:
SetOperation
(
c43534808
.
spop
)
...
...
@@ -33,8 +36,12 @@ function c43534808.initial_effect(c)
e3
:
SetTarget
(
c43534808
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
end
function
c43534808
.
cfilter
(
c
,
se
)
return
c
:
IsType
(
TYPE_TOKEN
)
and
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
end
function
c43534808
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_TOKEN
)
local
se
=
e
:
GetLabelObject
():
GetLabelObject
()
return
eg
:
IsExists
(
c43534808
.
cfilter
,
1
,
nil
,
se
)
end
function
c43534808
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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