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
Ai
ygopro-222DIY-cards
Commits
7c95971f
Commit
7c95971f
authored
Feb 03, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
f3fa9c6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
22 deletions
+23
-22
expansions/script/c12042050.lua
expansions/script/c12042050.lua
+1
-1
expansions/script/c12066000.lua
expansions/script/c12066000.lua
+22
-21
No files found.
expansions/script/c12042050.lua
View file @
7c95971f
...
...
@@ -20,7 +20,7 @@ function cm.tgfilter(c)
return
c
:
IsAbleToGrave
()
and
c
:
IsSetCard
(
0x6fbe
)
end
function
cm
.
thfilter1
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
Is
Race
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
cm
.
spfilter1
),
tp
,
LOCATION_GRAVE
,
0
,
c
:
GetLink
(),
nil
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
Is
SetCard
(
0x6fbe
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
cm
.
spfilter1
),
tp
,
LOCATION_GRAVE
,
0
,
c
:
GetLink
(),
nil
)
end
function
cm
.
spfilter1
(
c
)
return
c
:
IsAbleToRemove
()
and
c
:
IsRace
(
RACE_INSECT
)
...
...
expansions/script/c12066000.lua
View file @
7c95971f
...
...
@@ -104,28 +104,29 @@ function Sr_skyland.commoneffect_spcon(e,c)
and
(
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
commoneffect_filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
or
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
)
end
function
Sr_skyland
.
commoneffect_spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
if
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12066012
,
2
))
then
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
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
)
tg
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
g
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
g
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
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
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
)
tg
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
g
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
g
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
#
g
>
1
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
)
tg
:
GetFirst
():
RegisterFlagEffect
(
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
g
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
g
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
else
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
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
)
tg
:
GetFirst
():
RegisterFlagEffect
(
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
g
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
g
:
GetFirst
():
RegisterFlagEffect
(
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Sr_skyland
.
commoneffect_filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
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