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
1fc78c3c
Commit
1fc78c3c
authored
Feb 09, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cindy
parent
cf944fb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33400012.lua
expansions/script/c33400012.lua
+5
-13
No files found.
expansions/222DIY.cdb
View file @
1fc78c3c
No preview for this file type
expansions/script/c33400012.lua
View file @
1fc78c3c
...
...
@@ -12,10 +12,10 @@ function c33400012.initial_effect(c)
c
:
RegisterEffect
(
e0
)
--ChainLimit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
Set
Description
(
aux
.
Stringid
(
33400012
,
0
)
)
e1
:
Set
Type
(
EFFECT_TYPE_FIELD
)
e1
:
Set
Type
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
Set
Code
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c33400012
.
tg
op
)
e1
:
SetOperation
(
c33400012
.
chain
op
)
c
:
RegisterEffect
(
e1
)
--activate from hand
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -61,16 +61,8 @@ end
function
c33400012
.
afilter
(
c
)
return
c
:
IsSetCard
(
0x3340
)
and
c
:
IsType
(
TYPE_QUICKPLAY
)
end
function
c33400012
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetOperation
(
c33400012
.
actop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c33400012
.
actop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
re
:
GetHandler
():
IsSetCard
(
0x3340
)
then
function
c33400012
.
chainop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
GetHandler
():
IsSetCard
(
0x3340
)
and
re
:
GetHandler
():
IsType
(
TYPE_QUICKPLAY
)
and
ep
==
tp
then
Duel
.
SetChainLimit
(
c33400012
.
chainlm
)
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