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
Soulgamer
ygopro-222DIY-cards
Commits
f03a275c
Commit
f03a275c
authored
Jun 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vme50
parent
ca84b19f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
4 deletions
+29
-4
expansions/script/c12066000.lua
expansions/script/c12066000.lua
+27
-2
expansions/script/c67200294.lua
expansions/script/c67200294.lua
+2
-2
No files found.
expansions/script/c12066000.lua
View file @
f03a275c
...
...
@@ -49,6 +49,13 @@ function Sr_skyland.speffect(c,code)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
code
+
300
)
if
code
==
12066010
then
e2
:
SetCondition
(
Sr_skyland
.
spcon1
)
elseif
code
==
12066011
then
e2
:
SetCondition
(
Sr_skyland
.
spcon2
)
elseif
code
==
12066012
then
e2
:
SetCondition
(
Sr_skyland
.
spcon3
)
end
e2
:
SetCondition
(
c
.
spcon
)
e2
:
SetTarget
(
Sr_skyland
.
sptg
)
e2
:
SetOperation
(
Sr_skyland
.
spop
)
...
...
@@ -75,6 +82,24 @@ function Sr_skyland.spellop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
function
Sr_skyland
.
conffil1
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_EXTRA
)
and
c
:
IsRank
(
1
)
end
function
Sr_skyland
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Sr_skyland
.
conffil1
,
1
,
nil
,
tp
)
end
function
Sr_skyland
.
conffil2
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_EXTRA
)
and
c
:
IsLevel
(
1
)
end
function
Sr_skyland
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Sr_skyland
.
conffil2
,
1
,
nil
,
tp
)
end
function
Sr_skyland
.
conffil3
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_EXTRA
)
and
c
:
IsLink
(
1
)
end
function
Sr_skyland
.
spcon3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Sr_skyland
.
conffil3
,
1
,
nil
,
tp
)
end
function
Sr_skyland
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
@@ -111,7 +136,7 @@ function Sr_skyland.commoneffect_spop(e,tp,eg,ep,ev,re,r,rp,c)
if
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
commoneffect_filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12066012
,
2
))
then
local
g
=
Duel
.
GetMatchingGroup
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
#
g
>
1
then
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
12066012
,
3
))
local
tg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
tg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
@@ -131,7 +156,7 @@ function Sr_skyland.commoneffect_spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
elseif
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
GetMatchingGroup
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
#
g
>
1
then
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
12066012
,
3
))
local
tg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
tg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
expansions/script/c67200294.lua
View file @
f03a275c
...
...
@@ -12,8 +12,8 @@ function c67200294.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c67200294
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x674
)
end
local
sg
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x674
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x674
)
end
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x674
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
function
c67200294
.
thfilter
(
c
)
...
...
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