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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
1065ee3b
Commit
1065ee3b
authored
Nov 14, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
f21eb4ac
Pipeline
#6822
passed with stages
in 40 minutes and 28 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16114214.lua
expansions/script/c16114214.lua
+1
-1
expansions/script/c16120006.lua
expansions/script/c16120006.lua
+1
-1
expansions/script/c16120010.lua
expansions/script/c16120010.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
1065ee3b
No preview for this file type
expansions/script/c16114214.lua
View file @
1065ee3b
...
@@ -50,6 +50,6 @@ end
...
@@ -50,6 +50,6 @@ end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
then
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
()
)
end
end
end
end
expansions/script/c16120006.lua
View file @
1065ee3b
...
@@ -70,7 +70,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -70,7 +70,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
thfilter
(
c
,
tp
)
function
cm
.
thfilter
(
c
,
tp
)
if
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
then
if
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
then
return
c
:
IsSetCard
(
0x3fb9
)
and
c
:
IsAbleToHand
()
return
aux
.
IsCodeListed
(
c
,
16120010
)
and
c
:
IsAbleToHand
()
else
else
return
(
aux
.
IsCodeListed
(
c
,
16120010
)
or
c
:
IsCode
(
16120010
))
and
c
:
IsAbleToHand
()
return
(
aux
.
IsCodeListed
(
c
,
16120010
)
or
c
:
IsCode
(
16120010
))
and
c
:
IsAbleToHand
()
end
end
...
...
expansions/script/c16120010.lua
View file @
1065ee3b
...
@@ -29,7 +29,7 @@ function cm.filter(c,e,tp,m)
...
@@ -29,7 +29,7 @@ function cm.filter(c,e,tp,m)
return
false
return
false
end
end
local
num
=
c
:
GetLevel
()
+
c
:
GetRank
()
local
num
=
c
:
GetLevel
()
+
c
:
GetRank
()
return
c
:
IsCanBeSpecialSummoned
(
e
,
b
,
tp
,
false
,
fals
e
)
and
(
c
:
IsLevelAbove
(
1
)
or
c
:
IsRankAbove
(
1
))
and
m
:
CheckWithSumEqual
(
cm
.
sumfun
,
num
,
m
:
GetCount
(),
m
:
GetCount
())
and
(
c
:
IsLocation
(
LOCATION_DECK
)
and
Duel
.
GetMZoneCount
(
tp
,
m
)
>
0
return
c
:
IsCanBeSpecialSummoned
(
e
,
b
,
tp
,
false
,
tru
e
)
and
(
c
:
IsLevelAbove
(
1
)
or
c
:
IsRankAbove
(
1
))
and
m
:
CheckWithSumEqual
(
cm
.
sumfun
,
num
,
m
:
GetCount
(),
m
:
GetCount
())
and
(
c
:
IsLocation
(
LOCATION_DECK
)
and
Duel
.
GetMZoneCount
(
tp
,
m
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
m
,
c
)
>
0
)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
m
,
c
)
>
0
)
end
end
function
cm
.
sumfun
(
c
)
function
cm
.
sumfun
(
c
)
...
@@ -76,7 +76,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +76,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
elseif
c
:
IsType
(
TYPE_RITUAL
)
then
elseif
c
:
IsType
(
TYPE_RITUAL
)
then
b
=
TYPE_RITUAL
b
=
TYPE_RITUAL
end
end
Duel
.
SpecialSummon
(
tc
,
b
,
tp
,
tp
,
false
,
fals
e
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
b
,
tp
,
tp
,
false
,
tru
e
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
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