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
447e8ffc
Commit
447e8ffc
authored
Aug 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
3f2cb8bf
Pipeline
#16115
passed with stages
in 31 minutes and 2 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
33 deletions
+31
-33
expansions/pics/12300025.jpg
expansions/pics/12300025.jpg
+0
-0
expansions/pics/field/92900004.jpg
expansions/pics/field/92900004.jpg
+0
-0
expansions/script/c92900004.lua
expansions/script/c92900004.lua
+31
-33
No files found.
expansions/pics/12300025.jpg
View replaced file @
3f2cb8bf
View file @
447e8ffc
50.6 KB
|
W:
|
H:
39 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/pics/field/92900004.jpg
0 → 100644
View file @
447e8ffc
91.4 KB
expansions/script/c92900004.lua
View file @
447e8ffc
...
@@ -11,13 +11,13 @@ function c92900004.initial_effect(c)
...
@@ -11,13 +11,13 @@ function c92900004.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e1
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
cm
.
sp
cost
)
e1
:
SetCost
(
cm
.
th
cost
)
e1
:
SetTarget
(
cm
.
sp
tg
)
e1
:
SetTarget
(
cm
.
th
tg
)
e1
:
SetOperation
(
cm
.
sp
op
)
e1
:
SetOperation
(
cm
.
th
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--counter
--counter
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -39,43 +39,41 @@ function c92900004.initial_effect(c)
...
@@ -39,43 +39,41 @@ function c92900004.initial_effect(c)
e3
:
SetOperation
(
cm
.
drop
)
e3
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
rfilter
(
c
,
tp
)
function
cm
.
rfilter
(
c
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsSetCard
(
0x9a0
)
return
c
:
IsSetCard
(
0x9a0
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
()
)
end
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
costfilter
(
c
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
nil
,
tp
)
end
local
check
=
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
,
e
,
tp
,
check
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
tgfilter
(
c
,
e
,
tp
,
check
)
return
(
c
:
IsSetCard
(
0x9a0
)
and
c
:
IsLevelBelow
(
4
))
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsAbleToHand
())
return
c
:
IsSetCard
(
0x9a0
)
and
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsAbleToHand
()
or
check
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
rfilter
,
nil
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
chk
==
0
then
return
g
:
IsExists
(
cm
.
costfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SEARCH
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rg
=
g
:
FilterSelect
(
tp
,
cm
.
costfilter
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
Duel
.
Release
(
rg
,
REASON_COST
)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
m
,
2
))
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
true
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
check
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
check
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
op
=
0
if
tc
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
if
tc
:
IsAbleToHand
()
and
(
not
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
check
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
0
)
then
else
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
))
end
if
op
==
0
then
Duel
.
SendtoHand
(
tc
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
else
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
function
cm
.
ctfilter
(
c
)
function
cm
.
ctfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
...
...
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