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
ca55caef
Commit
ca55caef
authored
Feb 06, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
35b2f8af
Pipeline
#9277
passed with stage
in 29 minutes and 40 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
81 deletions
+10
-81
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/52580001.jpg
expansions/pics/52580001.jpg
+0
-0
expansions/script/c14140016.lua
expansions/script/c14140016.lua
+0
-1
expansions/script/c14140017.lua
expansions/script/c14140017.lua
+1
-2
expansions/script/c52580001.lua
expansions/script/c52580001.lua
+0
-68
expansions/script/c57340001.lua
expansions/script/c57340001.lua
+2
-3
expansions/script/c9310027.lua
expansions/script/c9310027.lua
+7
-7
No files found.
expansions/222DIY.cdb
View file @
ca55caef
No preview for this file type
expansions/pics/52580001.jpg
deleted
100644 → 0
View file @
35b2f8af
175 KB
expansions/script/c14140016.lua
View file @
ca55caef
...
...
@@ -247,7 +247,6 @@ function cm.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg)
c
:
SetMaterial
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
g
:
DeleteGroup
()
Duel
.
Hint
(
HINT_MUSIC
,
0
,
m
*
16
+
2
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_XYZ
)
...
...
expansions/script/c14140017.lua
View file @
ca55caef
...
...
@@ -81,7 +81,7 @@ function cm.exfilter(c,fc)
if
c
==
fc
then
return
false
end
return
cm
.
fsfilter
(
c
,
fc
)
and
c
:
GetLevel
()
==
8
and
c
:
IsAbleToRemove
()
end
function
cm
.
CheckRecursive
(
c
,
mg
,
sg
,
exg
,
tp
,
fc
,
chkf
)
function
cm
.
CheckRecursive
(
c
,
mg
,
sg
,
exg
,
tp
,
fc
,
chkf
)
if
exg
and
sg
:
GetCount
()
<
3
and
exg
:
IsContains
(
c
)
then
return
false
end
if
sg
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
c
:
GetRace
())
then
return
false
end
sg
:
AddCard
(
c
)
...
...
@@ -129,7 +129,6 @@ function cm.fsop(e,tp,eg,ep,ev,re,r,rp,gc,chkfnf)
Duel
.
SetFusionMaterial
(
sg
)
end
function
cm
.
SetMaterial
(
c
,
g
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
m
*
16
+
10
)
Card
.
SetMaterial
(
c
,
g
)
if
not
g
then
return
end
local
rg
=
g
:
Filter
(
function
(
c
)
return
c
:
GetFlagEffect
(
m
-
20000
)
>
0
end
,
nil
)
...
...
expansions/script/c52580001.lua
deleted
100644 → 0
View file @
35b2f8af
--梦野·无烬之门
local
m
=
52580001
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--overlay
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
ovtg
)
e1
:
SetOperation
(
cm
.
ovop
)
c
:
RegisterEffect
(
e1
)
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
m
+
900
)
e2
:
SetCondition
(
cm
.
drcon
)
e2
:
SetTarget
(
cm
.
drtg
)
e2
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
ovtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
ovfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
and
e
:
GetHandler
():
IsCanOverlay
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
cm
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
if
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
ovop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
then
local
og
=
c
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
end
end
function
cm
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_COST
)
and
re
:
IsActivated
()
and
re
:
IsActiveType
(
TYPE_XYZ
)
and
c
:
IsPreviousLocation
(
LOCATION_OVERLAY
)
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHand
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
expansions/script/c57340001.lua
View file @
ca55caef
...
...
@@ -4,7 +4,6 @@ local cm=_G["c"..m]
xpcall
(
function
()
require
(
"expansions/script/c57300000"
)
end
,
function
()
require
(
"script/c57300000"
)
end
)
function
cm
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkAttribute
,
ATTRIBUTE_DARK
),
3
)
miyuki
.
AddSummonMusic
(
c
,
aux
.
Stringid
(
m
,
1
),
SUMMON_TYPE_LINK
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -47,7 +46,7 @@ end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
zone
=
bit
.
band
(
c
:
GetLinkedZone
(),
0x1f
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
zone
>
0
and
re
:
GetHandler
():
IsControlerCanBeChanged
(
false
,
zone
)
and
Duel
.
NegateActivation
(
ev
)
then
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
zone
>
0
and
re
:
GetHandler
():
IsControlerCanBeChanged
(
false
,
zone
)
and
Duel
.
NegateActivation
(
ev
)
then
Duel
.
GetControl
(
re
:
GetHandler
(),
tp
,
0
,
0
,
zone
)
end
end
...
...
@@ -82,7 +81,7 @@ function cm.disop1(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
zone
=
cm
.
GetSpellLinkedZones
(
c
)
local
rc
=
re
:
GetHandler
()
if
rc
:
IsRelateToEffect
(
re
)
and
zone
>
0
and
rc
:
IsSSetable
(
true
,
tp
,
zone
)
and
Duel
.
NegateActivation
(
ev
)
then
if
rc
:
IsRelateToEffect
(
re
)
and
zone
>
0
and
rc
:
IsSSetable
(
true
,
tp
,
zone
)
and
Duel
.
NegateActivation
(
ev
)
then
rc
:
CancelToGrave
()
Duel
.
SSet
(
tp
,
rc
,
tp
,
false
,
zone
)
Duel
.
ConfirmCards
(
1
-
tp
,
rc
)
...
...
expansions/script/c9310027.lua
View file @
ca55caef
...
...
@@ -17,14 +17,14 @@ function c9310027.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
Duel
.
RegisterEffect
(
e2
,
tp
)
--inactivatable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetValue
(
c9310027
.
effectfilter
)
c
:
RegisterEffect
(
e2
)
--inactivatable
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetValue
(
c9310027
.
effectfilter
)
c
:
RegisterEffect
(
e3
)
--change cost
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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