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
19759ec5
Commit
19759ec5
authored
Oct 05, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
none
parent
83640868
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
166 deletions
+2
-166
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/72406005.jpg
expansions/pics/72406005.jpg
+0
-0
expansions/pics/72406009.jpg
expansions/pics/72406009.jpg
+0
-0
expansions/script/c37564510.lua
expansions/script/c37564510.lua
+1
-1
expansions/script/c72406005.lua
expansions/script/c72406005.lua
+0
-79
expansions/script/c72406009.lua
expansions/script/c72406009.lua
+0
-85
expansions/script/c72406043.lua
expansions/script/c72406043.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
19759ec5
No preview for this file type
expansions/pics/72406005.jpg
deleted
100644 → 0
View file @
83640868
96.7 KB
expansions/pics/72406009.jpg
deleted
100644 → 0
View file @
83640868
96.3 KB
expansions/script/c37564510.lua
View file @
19759ec5
...
@@ -20,7 +20,7 @@ function cm.chainfilter(re,tp,cid)
...
@@ -20,7 +20,7 @@ function cm.chainfilter(re,tp,cid)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rc
.
Senya_desc_with_nanahira
return
rc
.
Senya_desc_with_nanahira
end
end
function
cm
.
th
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c72406005.lua
deleted
100644 → 0
View file @
83640868
--百鬼妖游祭行 攀晓暗之蜘蛛
function
c72406005
.
initial_effect
(
c
)
--spirit return
aux
.
EnableSpiritReturn
(
c
,
EVENT_SUMMON_SUCCESS
,
EVENT_FLIP
)
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e1
)
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
72406005
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCategory
(
CATEGORY_SEARCH
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
72406006
)
e2
:
SetTarget
(
c72406005
.
target1
)
e2
:
SetOperation
(
c72406005
.
operation1
)
c
:
RegisterEffect
(
e2
)
--Summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
72406005
,
1
))
e3
:
SetCategory
(
CATEGORY_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
,
72406005
)
e3
:
SetCost
(
c72406005
.
sumcost
)
e3
:
SetTarget
(
c72406005
.
target2
)
e3
:
SetOperation
(
c72406005
.
operation2
)
c
:
RegisterEffect
(
e3
)
Duel
.
AddCustomActivityCounter
(
72406005
,
ACTIVITY_SUMMON
,
c72406005
.
counterfilter
)
end
--e2
function
c72406005
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x4c
,
0x89
)
and
c
:
GetType
()
==
TYPE_TRAP
and
c
:
IsSSetable
()
end
function
c72406005
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72406005
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
function
c72406005
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c72406005
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
end
end
--e3
function
c72406005
.
counterfilter
(
c
)
return
c
:
IsType
(
TYPE_SPIRIT
)
end
function
c72406005
.
sumlimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_SPIRIT
)
end
function
c72406005
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
72406005
,
tp
,
ACTIVITY_SUMMON
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c72406005
.
sumlimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c72406005
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c72406005
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
end
\ No newline at end of file
expansions/script/c72406009.lua
deleted
100644 → 0
View file @
83640868
--百鬼妖游祭行 晓染顶的忍仙
function
c72406009
.
initial_effect
(
c
)
--spirit return
aux
.
EnableSpiritReturn
(
c
,
EVENT_SUMMON_SUCCESS
,
EVENT_FLIP
)
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e1
)
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
72406009
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCategory
(
CATEGORY_SEARCH
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
72406010
)
e2
:
SetTarget
(
c72406009
.
target1
)
e2
:
SetOperation
(
c72406009
.
operation1
)
c
:
RegisterEffect
(
e2
)
--Summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
72406009
,
1
))
e3
:
SetCategory
(
CATEGORY_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
,
72406009
)
e3
:
SetCost
(
c72406009
.
sumcost
)
e3
:
SetTarget
(
c72406009
.
target2
)
e3
:
SetOperation
(
c72406009
.
operation2
)
c
:
RegisterEffect
(
e3
)
Duel
.
AddCustomActivityCounter
(
72406009
,
ACTIVITY_SUMMON
,
c72406009
.
counterfilter
)
end
--e2
function
c72406009
.
setfilter
(
c
)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsSetCard
(
0x61
)
and
c
:
IsSSetable
()
end
function
c72406009
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72406009
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
true
)
end
end
function
c72406009
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c72406009
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
g
:
GetFirst
():
RegisterEffect
(
e1
)
end
end
--e3
function
c72406009
.
counterfilter
(
c
)
return
c
:
IsType
(
TYPE_SPIRIT
)
end
function
c72406009
.
sumlimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_SPIRIT
)
end
function
c72406009
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
72406009
,
tp
,
ACTIVITY_SUMMON
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c72406009
.
sumlimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c72406009
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c72406009
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
end
\ No newline at end of file
expansions/script/c72406043.lua
View file @
19759ec5
...
@@ -108,6 +108,6 @@ function c72406043.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -108,6 +108,6 @@ function c72406043.retop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c7240604
5
.
retfilter2
(
c
)
function
c7240604
3
.
retfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x721
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x721
)
end
end
\ No newline at end of file
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