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
07f07eea
Commit
07f07eea
authored
Jan 04, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dededededededededededede
parent
c129f4c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c16105004.lua
expansions/script/c16105004.lua
+4
-4
expansions/script/c16105022.lua
expansions/script/c16105022.lua
+1
-1
expansions/script/c16105026.lua
expansions/script/c16105026.lua
+1
-1
No files found.
expansions/script/c16105004.lua
View file @
07f07eea
...
...
@@ -150,9 +150,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
se
=
e
:
GetLabelObject
()
se
:
Reset
()
end
function
cm
.
thfilter
(
c
)
return
c
:
IsLevel
(
10
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -167,6 +164,9 @@ end
function
cm
.
thsplimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
(
c
:
IsLevel
(
10
)
or
c
:
IsRank
(
10
)
or
c
:
IsSetCard
(
0xcc3
))
end
function
cm
.
thfilter
(
c
)
return
c
:
IsLevel
(
10
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsLevel
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
10
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
...
...
@@ -179,7 +179,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Group
.
CreateGroup
()
g
:
AddCard
(
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfiter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfi
l
ter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
g
:
Merge
(
tc
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
expansions/script/c16105022.lua
View file @
07f07eea
...
...
@@ -188,7 +188,7 @@ function cm.dstg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
dsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateSummon
(
eg
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
eg
,
nil
,
2
,
REASON_EFFECT
)
end
function
cm
.
toptarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_PZONE
,
0
)
...
...
expansions/script/c16105026.lua
View file @
07f07eea
...
...
@@ -28,7 +28,7 @@ function cm.splimit(e,c,tp,sumtp,sumpos)
end
--e3
function
cm
.
tefilter
(
c
)
return
c
:
IsSetCard
(
0xcc3
)
and
not
c
:
IsCode
(
m
+
4
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xcc3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
m
+
4
)
and
c
:
IsAbleToHand
()
end
function
cm
.
tetg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tefilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
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