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
5d97df75
Commit
5d97df75
authored
Apr 02, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
carrot
parent
f2ca03be
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c10908001.lua
expansions/script/c10908001.lua
+1
-0
expansions/script/c33500007.lua
expansions/script/c33500007.lua
+1
-1
expansions/script/c53703003.lua
expansions/script/c53703003.lua
+4
-3
expansions/script/c53703009.lua
expansions/script/c53703009.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
5d97df75
No preview for this file type
expansions/script/c10908001.lua
View file @
5d97df75
...
...
@@ -6,6 +6,7 @@ function c10908001.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCondition
(
c10908001
.
condition2
)
e1
:
SetCountLimit
(
1
,
10908001
)
e1
:
SetTarget
(
c10908001
.
drtg
)
e1
:
SetOperation
(
c10908001
.
drop
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33500007.lua
View file @
5d97df75
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
end
--e2
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xa83
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToDeckOrExtraAsCost
()
return
c
:
IsSetCard
(
0xa83
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToDeckOrExtraAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c53703003.lua
View file @
5d97df75
...
...
@@ -233,9 +233,10 @@ end
function
c53703003
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cg
=
c
:
GetColumnGroup
()
if
cg
:
GetCount
()
==
0
then
elseif
cg
:
GetCount
()
==
1
then
local
tc
=
cg
:
GetFirst
()
local
g
=
Duel
.
GetMatchingGroup
(
c53703003
.
eqfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
cg
)
if
g
:
GetCount
()
==
0
then
elseif
g
:
GetCount
()
==
1
then
local
tc
=
g
:
GetFirst
()
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c53703009.lua
View file @
5d97df75
...
...
@@ -89,7 +89,7 @@ function c53703009.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
b2
or
b3
end
end
function
c53703009
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
1
)
then
return
end
if
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
0
)
and
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
1
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c53703009
.
penfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
...
...
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