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
8e2260cb
Commit
8e2260cb
authored
Feb 28, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
0bbfe4b7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16104418.lua
expansions/script/c16104418.lua
+1
-1
expansions/script/c16104419.lua
expansions/script/c16104419.lua
+3
-3
expansions/script/c16104421.lua
expansions/script/c16104421.lua
+2
-1
expansions/script/c66915035.lua
expansions/script/c66915035.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
8e2260cb
No preview for this file type
expansions/script/c16104418.lua
View file @
8e2260cb
...
...
@@ -11,7 +11,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_RECOVER
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_S
PS
UMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
rccon
)
e1
:
SetTarget
(
cm
.
rctg
)
...
...
expansions/script/c16104419.lua
View file @
8e2260cb
...
...
@@ -53,7 +53,7 @@ function cm.splimit(e,c)
return
not
(
c
:
IsSetCard
(
0xccb
,
0xccd
)
or
c
:
IsRace
(
RACE_FAIRY
))
end
--Effect 2
function
cm
.
filter
(
c
,
e
,
tp
)
function
cm
.
sp
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xccb
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
@@ -62,7 +62,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
minc
,
maxc
=
c
:
GetTributeRequirement
()
local
b1
=
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
cm
.
sp
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
(
b1
or
b2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
local
off
=
1
local
ops
=
{}
...
...
@@ -97,7 +97,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
sp
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
expansions/script/c16104421.lua
View file @
8e2260cb
...
...
@@ -42,6 +42,7 @@ function cm.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
cm
.
condition
)
e4
:
SetOperation
(
cm
.
disoperation
)
c
:
RegisterEffect
(
e4
)
--
...
...
@@ -93,7 +94,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
g
:
Merge
(
rg
)
end
if
re
:
GetHandler
():
IsControler
(
tp
)
then
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
GetSequence
()
==
seq
or
(
c
:
GetEquipGroup
()
and
c
:
GetEquipGroup
():
IsExists
(
cm
.
disfilter
,
1
,
nil
,
seq
)))
and
not
rg
:
IsContains
(
re
:
GetHandler
())
and
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
loc
&
LOCATION_SZONE
~=
0
return
false
else
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
GetSequence
()
==
4
-
seq
or
(
c
:
GetEquipGroup
()
and
c
:
GetEquipGroup
():
IsExists
(
cm
.
disfilter
,
1
,
nil
,
4
-
seq
)))
and
not
rg
:
IsContains
(
re
:
GetHandler
())
and
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
loc
&
LOCATION_SZONE
~=
0
end
...
...
expansions/script/c66915035.lua
View file @
8e2260cb
...
...
@@ -2,7 +2,7 @@
function
c66915035
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunFunRep
(
c
,
c66915035
.
mfilter1
,
c66915035
.
mfilter2
,
2
,
63
,
true
)
aux
.
AddFusionProcFunFunRep
(
c
,
c66915035
.
mfilter1
,
c66915035
.
mfilter2
,
2
,
5
,
true
)
--spsummon condition
local
e12
=
Effect
.
CreateEffect
(
c
)
e12
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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