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
a3dd41fb
Commit
a3dd41fb
authored
Jan 08, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
0cc28a24
Pipeline
#8580
passed with stages
in 43 minutes and 23 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
expansions/script/c16110010.lua
expansions/script/c16110010.lua
+3
-3
expansions/script/c21520099.lua
expansions/script/c21520099.lua
+5
-1
expansions/script/c23000309.lua
expansions/script/c23000309.lua
+3
-3
No files found.
expansions/script/c16110010.lua
View file @
a3dd41fb
...
...
@@ -32,8 +32,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
3
)
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_COST
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
2
)
end
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_COST
)
local
og
=
Duel
.
GetOperatedGroup
()
local
num
=
og
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0xcc5
)
e
:
SetLabel
(
num
)
...
...
@@ -63,7 +63,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SendtoDeck
(
g
,
2
,
0
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
0
,
REASON_COST
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c21520099.lua
View file @
a3dd41fb
...
...
@@ -121,7 +121,7 @@ function c21520099.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c,og)
Duel
.
SetSelectedCard
(
msg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Auxiliary
.
GCheckAdditional
=
Auxiliary
.
TuneMagicianCheckAdditionalX
(
EFFECT_TUNE_MAGICIAN_X
)
local
sg
=
mg
:
SelectSubGroup
(
tp
,
c21520099
.
sprgoal
,
cancel
,
2
,
99
,
tp
,
c
)
local
sg
=
mg
:
SelectSubGroup
(
tp
,
c21520099
.
sprgoal
,
cancel
,
2
,
255
,
tp
,
c
)
Auxiliary
.
GCheckAdditional
=
nil
if
sg
then
sg
:
KeepAlive
()
...
...
@@ -167,6 +167,10 @@ function c21520099.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_CARD
,
re
:
GetHandler
():
GetControler
(),
21520099
)
if
Duel
.
NegateEffect
(
ev
)
then
rc
:
CancelToGrave
()
local
og
=
rc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
Duel
.
Overlay
(
c
,
rc
)
end
end
...
...
expansions/script/c23000309.lua
View file @
a3dd41fb
--赛须眉·公孙玥
--赛须眉·公孙玥
function
c23000309
.
initial_effect
(
c
)
aux
.
AddMaterialCodeList
(
c
,
23000303
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_WARRIOR
),
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
23000303
),
1
,
1
)
c
:
EnableReviveLimit
()
--code
aux
.
EnableChangeCode
(
c
,
23000303
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -52,6 +50,8 @@ function c23000309.initial_effect(c)
e6
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e6
:
SetValue
(
c23000309
.
valcheck
)
c
:
RegisterEffect
(
e6
)
--change name
aux
.
EnableChangeCode
(
c
,
23000303
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
end
c23000309
.
material_type
=
TYPE_SYNCHRO
function
c23000309
.
indct
(
e
,
re
,
r
,
rp
)
...
...
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