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
36e485b8
Commit
36e485b8
authored
Feb 15, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore
parent
7c472722
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33400113.lua
expansions/script/c33400113.lua
+6
-2
No files found.
expansions/222DIY.cdb
View file @
36e485b8
No preview for this file type
expansions/script/c33400113.lua
View file @
36e485b8
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCo
untLimit
(
1
,
m
+
10000
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCo
ndition
(
cm
.
thcon2
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--to hand
...
...
@@ -32,8 +32,11 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
aux
.
chainreg
)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
end
function
cm
.
thfilter1
(
c
)
return
c
:
IsSetCard
(
0x3340
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3340
)
and
c
:
IsAbleToHand
()
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
...
...
@@ -43,6 +46,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_EVENT
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
end
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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