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
25f1c6fe
Commit
25f1c6fe
authored
Sep 26, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
28bb4996
Pipeline
#5861
passed with stages
in 20 minutes and 58 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
131 additions
and
14 deletions
+131
-14
expansions/script/c12011004.lua
expansions/script/c12011004.lua
+1
-1
expansions/script/c12017006.lua
expansions/script/c12017006.lua
+0
-1
expansions/script/c12030012.lua
expansions/script/c12030012.lua
+7
-8
expansions/script/c33401318.lua
expansions/script/c33401318.lua
+111
-0
expansions/script/c33701424.lua
expansions/script/c33701424.lua
+1
-1
expansions/script/c37902001.lua
expansions/script/c37902001.lua
+8
-0
expansions/script/c71402000.lua
expansions/script/c71402000.lua
+1
-1
expansions/script/c75646194.lua
expansions/script/c75646194.lua
+1
-1
expansions/script/c85402020.lua
expansions/script/c85402020.lua
+1
-1
No files found.
expansions/script/c12011004.lua
View file @
25f1c6fe
...
...
@@ -86,7 +86,7 @@ function c12011004.efop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetTarget
(
c12011004
.
tdtg
)
e1
:
SetOperation
(
c12011004
.
tdop
)
rc
:
RegisterEffect
(
e1
,
true
)
...
...
expansions/script/c12017006.lua
View file @
25f1c6fe
...
...
@@ -13,7 +13,6 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
cm
.
scon
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c12030012.lua
View file @
25f1c6fe
...
...
@@ -4,7 +4,6 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"c10199990.lua"
)
cm
.
rssetcode
=
"yatori"
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
cm
.
mfilter
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
...
...
@@ -45,8 +44,8 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
end
c
12030002
.
halo_yatori
=
1
function
c
12030002
.
named_with_yatori
(
c
)
c
m
.
halo_yatori
=
1
function
c
m
.
named_with_yatori
(
c
)
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
return
m
and
m
.
halo_yatori
end
...
...
@@ -70,18 +69,18 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local
tt
=
1
Duel
.
PayLPCost
(
tp
,
2000
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
if
c
.
d
rop1
then
c
.
d
rop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
if
c
.
d
sop
then
c
.
d
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
end
end
function
cm
.
d
rop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
function
cm
.
d
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
local
tt
=
tt
*
2
local
c
=
e
:
GetHandler
()
if
Duel
.
CheckLPCost
(
tp
,
2000
*
tt
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
PayLPCost
(
tp
,
2000
*
tt
)
if
c
.
d
rop1
then
c
.
d
rop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
if
c
.
d
sop
then
c
.
d
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
end
end
end
...
...
expansions/script/c33401318.lua
0 → 100644
View file @
25f1c6fe
--五河士道 哥哥
local
m
=
33401318
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--special summon
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e0
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e0
:
SetCode
(
EVENT_DESTROYED
)
e0
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_HAND
)
e0
:
SetCountLimit
(
1
,
m
)
e0
:
SetCondition
(
cm
.
spcon
)
e0
:
SetTarget
(
cm
.
sptg
)
e0
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e0
)
--fusion success
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
+
10000
)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
spfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
spfilter
,
1
,
nil
,
tp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
,
true
)
end
Duel
.
SpecialSummonComplete
()
end
function
cm
.
spfilter1
(
c
,
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
cm
.
spfilter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x341
)
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
)
if
chk
==
0
then
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
)
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
local
fgroup
=
ce
:
GetTarget
()
local
mg2
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg2
,
mf
,
chkf
)
end
end
return
res
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
cm
.
spfilter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
local
fgroup
=
ce
:
GetTarget
()
mg2
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
sg2
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg2
,
mf
,
chkf
)
end
if
sg1
:
GetCount
()
>
0
or
(
sg2
~=
nil
and
sg2
:
GetCount
()
>
0
)
then
local
sg
=
sg1
:
Clone
()
if
sg2
then
sg
:
Merge
(
sg2
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
tc
:
SetMaterial
(
mat1
)
Duel
.
SendtoGrave
(
mat1
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
local
mat2
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg2
,
nil
,
chkf
)
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
end
end
expansions/script/c33701424.lua
View file @
25f1c6fe
...
...
@@ -61,7 +61,7 @@ function cm.damop1(e,tp,eg,ep,ev,re,r,rp)
if
seq
==
1
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_MZONE
,
5
))
end
if
seq
==
3
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_MZONE
,
6
))
end
end
else
else
if
if
seq
==
5
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_MZONE
,
1
))
end
if
seq
==
6
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_MZONE
,
3
))
end
else
toGrave
=
true
...
...
expansions/script/c37902001.lua
0 → 100644
View file @
25f1c6fe
--初王·艾德里·德温
local
m
=
37902001
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
end
expansions/script/c71402000.lua
View file @
25f1c6fe
...
...
@@ -122,7 +122,7 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
elseif
dc
==
3
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c71402000
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
>
0
end
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
elseif
dc
==
4
then
local
thg
=
Duel
.
GetMatchingGroup
(
c71402000
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
thg
:
GetCount
()
>
0
...
...
expansions/script/c75646194.lua
View file @
25f1c6fe
...
...
@@ -52,7 +52,7 @@ function c75646194.filter(c)
end
function
c75646194
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c75646194
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c75646
252
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c75646
194
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
c75646194
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
expansions/script/c85402020.lua
View file @
25f1c6fe
...
...
@@ -39,7 +39,7 @@ function c85402020.initial_effect(c)
c
:
RegisterEffect
(
e5
)
------占卜找装备
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetCategory
(
HINTMSG_SP
SUMMON
)
e6
:
SetCategory
(
CATEGORY_SPECIAL_
SUMMON
)
e6
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e6
:
SetCode
(
EVENT_FREE_CHAIN
)
e6
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
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