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
f5e26b86
Commit
f5e26b86
authored
Nov 04, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
b07bcfaa
Pipeline
#6671
passed with stages
in 22 minutes and 37 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
11 deletions
+64
-11
expansions/script/c12044003.lua
expansions/script/c12044003.lua
+1
-0
expansions/script/c12044005.lua
expansions/script/c12044005.lua
+52
-3
expansions/script/c12044026.lua
expansions/script/c12044026.lua
+10
-7
expansions/script/c85402430.lua
expansions/script/c85402430.lua
+1
-1
No files found.
expansions/script/c12044003.lua
View file @
f5e26b86
...
...
@@ -4,6 +4,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
cm
.
mfilter
,
1
)
c
:
EnableReviveLimit
()
--cannot remove
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c12044005.lua
View file @
f5e26b86
...
...
@@ -24,6 +24,48 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
--not have souls
local
e14
=
Effect
.
CreateEffect
(
c
)
e14
:
SetType
(
EFFECT_TYPE_FIELD
)
e14
:
SetRange
(
LOCATION_MZONE
)
e14
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e14
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e14
:
SetTargetRange
(
1
,
1
)
e14
:
SetCondition
(
cm
.
notcon
)
e14
:
SetTarget
(
cm
.
nottg
)
c
:
RegisterEffect
(
e14
)
local
e17
=
e14
:
Clone
()
e17
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
c
:
RegisterEffect
(
e17
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetOperation
(
cm
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
function
cm
.
cfilter
(
c
,
set
)
return
c
:
IsSetCard
(
set
)
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
eg
then
return
end
local
sg
=
eg
:
Filter
(
cm
.
cfilter
,
nil
,
0xafaa
)
if
#
sg
>
0
then
Duel
.
RegisterFlagEffect
(
tp
,
m
+
100
,
0
,
0
,
1
)
end
local
sg1
=
eg
:
Filter
(
cm
.
cfilter
,
nil
,
0x5fac
)
if
#
sg1
>
0
then
Duel
.
RegisterFlagEffect
(
tp
,
m
+
200
,
0
,
0
,
1
)
end
local
sg2
=
eg
:
Filter
(
cm
.
cfilter
,
nil
,
0x6fac
)
if
#
sg2
>
0
then
Duel
.
RegisterFlagEffect
(
tp
,
m
+
300
,
0
,
0
,
1
)
end
end
function
cm
.
spcost
(
e
,
c
,
tp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
or
not
c
:
IsLocation
(
LOCATION_DECK
)
...
...
@@ -33,16 +75,23 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
cm
.
cfiler
(
c
)
function
cm
.
cfil
t
er
(
c
)
return
srre
.
check_effect_ignite
(
c
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
e
:
GetHandler
()
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
cm
.
notcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
==
0
or
Duel
.
GetFlagEffect
(
tp
,
m
+
200
)
==
0
or
Duel
.
GetFlagEffect
(
tp
,
m
+
300
)
==
0
end
function
cm
.
nottg
(
e
,
c
)
return
c
:
GetControler
()
==
e
:
GetHandler
():
GetOwner
()
end
\ No newline at end of file
expansions/script/c12044026.lua
View file @
f5e26b86
...
...
@@ -36,11 +36,11 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e
2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
2
:
SetTarget
(
cm
.
sptg
)
e
2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e
2
)
e
1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e
1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
1
:
SetTarget
(
cm
.
sptg
)
e
1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e
1
)
end
function
cm
.
spcost
(
e
,
c
,
tp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
==
0
or
not
c
:
IsLocation
(
LOCATION_DECK
)
...
...
@@ -66,11 +66,14 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
c
,
tp
,
2
,
REASON_EFFECT
)
c
:
ReverseInDeck
()
Duel
.
ShuffleDeck
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
63
,
g
)
g
:
Merge
(
sg
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_HAND
,
0
,
0
,
63
,
g
)
if
#
sg
>
0
then
g
:
Merge
(
sg
)
end
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
for
i
=
1
,
#
g
,
1
do
Duel
.
RegisterFlagEffect
(
tp
,
m
,
0
,
0
,
1
)
...
...
expansions/script/c85402430.lua
View file @
f5e26b86
...
...
@@ -292,7 +292,7 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk)
ng
:
KeepAlive
()
e
:
SetLabelObject
(
ng
)
e
:
SetLabel
(
ng
:
GetFirst
():
GetCode
())
elseif
Duel
.
GetMatchingGroupCount
(
c85402430
.
fllll2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
<=
0
then
elseif
Duel
.
GetMatchingGroupCount
(
c85402430
.
fllll2
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
)
<=
0
then
g
:
Remove
(
c85402430
.
chk2
,
nil
)
local
mg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
mg
,
REASON_COST
)
...
...
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