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
d4a012f5
Commit
d4a012f5
authored
Dec 30, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
0ad6cf69
Pipeline
#8413
passed with stages
in 23 minutes and 50 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
expansions/script/c16150031.lua
expansions/script/c16150031.lua
+2
-2
expansions/script/c75124603.lua
expansions/script/c75124603.lua
+12
-13
No files found.
expansions/script/c16150031.lua
View file @
d4a012f5
...
@@ -25,10 +25,10 @@ function cm.initial_effect(c)
...
@@ -25,10 +25,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
cm
.
eqcheck
(
c
,
tp
,
ec
)
function
cm
.
eqcheck
(
c
,
tp
,
ec
)
return
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
and
rk
.
check
(
c
,
"DAIOU"
)
and
c
:
IsLevel
(
ec
:
GetLevel
()
*
2
)
return
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
and
rk
.
check
(
c
,
"DAIOU"
)
and
c
:
IsLevel
(
ec
:
GetLevel
()
*
2
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
tgfilter
(
c
,
tp
,
eg
)
function
cm
.
tgfilter
(
c
,
tp
,
eg
)
return
eg
:
IsContains
(
c
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
eqcheck
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
,
c
)
return
eg
:
IsContains
(
c
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
eqcheck
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
,
c
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c75124603.lua
View file @
d4a012f5
...
@@ -17,16 +17,15 @@ function c75124603.initial_effect(c)
...
@@ -17,16 +17,15 @@ function c75124603.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--spsummon
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
75124603
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
Set
Property
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
Set
Range
(
LOCATION_MZONE
)
e3
:
SetTarget
(
c75124603
.
sptg
)
e3
:
SetTarget
(
c75124603
.
sptg
)
e3
:
SetOperation
(
c75124603
.
spop
)
e3
:
SetOperation
(
c75124603
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e
3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e
4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--indes
--indes
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
...
@@ -38,20 +37,20 @@ function c75124603.initial_effect(c)
...
@@ -38,20 +37,20 @@ function c75124603.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c75124603
.
spfilter
(
c
,
e
,
tp
)
function
c75124603
.
spfilter
(
c
,
e
,
tp
)
return
(
not
c
:
IsType
(
TYPE_TUNER
))
and
c
:
IsSetCard
(
0x3276
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
5
)
return
c
:
IsSetCard
(
0x3276
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
5
)
end
end
function
c75124603
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c75124603
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_GRAVE
)
and
c75124603
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c75124603
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
c75124603
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c75124603
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
end
function
c75124603
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75124603
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c75124603
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
function
c75124603
.
filter
(
c
,
e
,
tp
)
function
c75124603
.
filter
(
c
,
e
,
tp
)
...
...
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