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
dc03c8dd
Commit
dc03c8dd
authored
Mar 27, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
8afb5be7
Pipeline
#20969
passed with stages
in 29 minutes and 13 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
18 deletions
+13
-18
expansions/script/c12852104.lua
expansions/script/c12852104.lua
+1
-8
expansions/script/c16400089.lua
expansions/script/c16400089.lua
+2
-2
expansions/script/c16400092.lua
expansions/script/c16400092.lua
+2
-2
expansions/script/c16400093.lua
expansions/script/c16400093.lua
+1
-1
expansions/script/c23000050.lua
expansions/script/c23000050.lua
+1
-1
expansions/script/c23000080.lua
expansions/script/c23000080.lua
+4
-1
expansions/script/c33200002.lua
expansions/script/c33200002.lua
+0
-1
expansions/script/c53722003.lua
expansions/script/c53722003.lua
+1
-1
expansions/script/c67200300.lua
expansions/script/c67200300.lua
+1
-1
No files found.
expansions/script/c12852104.lua
View file @
dc03c8dd
...
...
@@ -33,7 +33,7 @@ function c12852104.initial_effect(c)
--to hand
local
e21
=
Effect
.
CreateEffect
(
c
)
e21
:
SetDescription
(
aux
.
Stringid
(
12852104
,
1
))
e21
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_TODECK
)
e21
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e21
:
SetType
(
EFFECT_TYPE_IGNITION
)
e21
:
SetRange
(
LOCATION_GRAVE
)
e21
:
SetCountLimit
(
1
,
12852106
)
...
...
@@ -94,12 +94,5 @@ function c12852104.thop1(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
sg
>
0
then
Duel
.
BreakEffect
()
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
expansions/script/c16400089.lua
View file @
dc03c8dd
...
...
@@ -65,7 +65,7 @@ function cm.spfilter1(c,e,tp,m,f,chkf)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
tp
local
mg
=
Duel
.
GetFusionMaterial
(
tp
)
...
...
@@ -91,7 +91,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
local
mg
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
cm
.
mfilter1
,
nil
,
e
)
local
mg1
=
mg
:
Clone
()
...
...
expansions/script/c16400092.lua
View file @
dc03c8dd
...
...
@@ -69,7 +69,7 @@ function cm.spcheck(c,e,tp,lv,tc)
return
Duel
.
GetLocationCountFromEx
(
1
-
tp
,
1
-
tp
,
nil
)
>
0
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetLabel
()
==
1
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
check
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
...
...
@@ -85,7 +85,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetTargetParam
(
g
:
GetSum
(
Card
.
GetLevel
))
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
cm
.
spop
(
e
,
tp
)
function
cm
.
activate
(
e
,
tp
)
local
lv
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
spcheck
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
expansions/script/c16400093.lua
View file @
dc03c8dd
...
...
@@ -39,7 +39,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
end
end
function
cm
.
cftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c23000050.lua
View file @
dc03c8dd
...
...
@@ -42,7 +42,7 @@ function s.negcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
s
.
disconf
,
1
,
nil
)
end
function
s
.
distgf
(
c
,
rc
)
return
c
:
IsType
(
TYPE_XYZ
)
and
rc
:
GetAttribute
()
&
c
:
GetAttribute
()
~=
0
return
rc
:
GetAttribute
()
&
c
:
GetAttribute
()
~=
0
end
function
s
.
distg
(
e
,
c
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
s
.
distgf
,
1
,
nil
,
c
)
...
...
expansions/script/c23000080.lua
View file @
dc03c8dd
...
...
@@ -55,8 +55,11 @@ end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
s
.
disconf
,
1
,
nil
)
end
function
s
.
attallf
(
c
)
return
not
s
.
disconf
(
c
)
end
function
s
.
attall
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
s
.
discon
f
,
1
,
nil
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
s
.
attall
f
,
1
,
nil
)
end
function
s
.
distgf
(
c
,
rc
)
return
rc
:
GetAttribute
()
&
c
:
GetAttribute
()
~=
0
...
...
expansions/script/c33200002.lua
View file @
dc03c8dd
...
...
@@ -2,7 +2,6 @@
function
c33200002
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
33200002
+
EFFECT_COUNT_CODE_OATH
)
...
...
expansions/script/c53722003.lua
View file @
dc03c8dd
...
...
@@ -26,7 +26,7 @@ function cm.inmop1(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x3531
))
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetLabelObject
(
re
)
e1
:
SetReset
(
RESET_
EVENT
+
RESET_
CHAIN
)
e1
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e
:
SetLabelObject
(
e1
)
end
...
...
expansions/script/c67200300.lua
View file @
dc03c8dd
...
...
@@ -45,7 +45,7 @@ function c67200300.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c67200300
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsExistingMatchingCard
(
c67200300
.
penfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c67200300
.
penfilter
,
tp
,
LOCATION_DECK
,
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