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
4906b3c9
Commit
4906b3c9
authored
Aug 30, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wadashimo
parent
d37cd663
Pipeline
#654
passed with stages
in 41 minutes and 6 seconds
Changes
13
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
49 additions
and
43 deletions
+49
-43
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c1111002.lua
expansions/script/c1111002.lua
+29
-29
expansions/script/c12004005.lua
expansions/script/c12004005.lua
+8
-2
expansions/script/c33401052.lua
expansions/script/c33401052.lua
+2
-2
expansions/script/c33700941.lua
expansions/script/c33700941.lua
+1
-1
expansions/script/c61000000.lua
expansions/script/c61000000.lua
+1
-1
expansions/script/c61000001.lua
expansions/script/c61000001.lua
+2
-2
expansions/script/c61000002.lua
expansions/script/c61000002.lua
+1
-1
expansions/script/c61000003.lua
expansions/script/c61000003.lua
+1
-1
expansions/script/c61000004.lua
expansions/script/c61000004.lua
+1
-1
expansions/script/c61000005.lua
expansions/script/c61000005.lua
+1
-1
expansions/script/c61000006.lua
expansions/script/c61000006.lua
+1
-1
expansions/script/c66560003.lua
expansions/script/c66560003.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
4906b3c9
No preview for this file type
expansions/script/c1111002.lua
View file @
4906b3c9
...
...
@@ -29,7 +29,7 @@ end
function
c1111002
.
tfilter1_1
(
c
,
e
,
tp
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
Duel
.
IsExistingTarget
(
c1111002
.
tfilter1_2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c1111002
.
tfilter1_2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
t
c
)
end
function
c1111002
.
tfilter1_2
(
c
,
e
,
tp
,
tc
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
@@ -50,6 +50,7 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
<
1
then
return
end
if
Duel
.
GetLocationCountFromEx
(
tp
)
<
1
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c1111002
.
tfilter1_2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
)
if
sg
:
GetCount
()
>
0
then
...
...
@@ -68,7 +69,6 @@ function c1111002.op1_2(e,tp,eg,ep,ev,re,r,rp)
local
lg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
63
,
nil
)
if
lg
:
GetCount
()
<
1
then
return
end
if
Duel
.
SendtoDeck
(
lg
,
nil
,
2
,
REASON_EFFECT
)
<
1
then
return
end
Duel
.
ShuffleDeck
(
tp
)
local
num1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
local
num2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
if
num1
>=
num2
then
return
end
...
...
expansions/script/c12004005.lua
View file @
4906b3c9
...
...
@@ -93,13 +93,19 @@ end
function
c12004005
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tt
=
e
:
GetLabel
()
Duel
.
Draw
(
tp
,
tt
,
REASON_EFFECT
)
if
tt
>
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12003011
,
0
,
0x4011
,
800
,
1000
,
3
,
RACE_SEASERPENT
,
ATTRIBUTE_WATER
,
1
-
tp
)
then
if
tt
>
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12003011
,
0
,
0x4011
,
800
,
1000
,
3
,
RACE_SEASERPENT
,
ATTRIBUTE_WATER
,
POS_DEFENSE
,
1
-
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
12003011
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
if
tt
-
1
>
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12003011
,
0
,
0x4011
,
800
,
1000
,
3
,
RACE_SEASERPENT
,
ATTRIBUTE_WATER
,
1
-
tp
)
then
if
tt
-
1
>
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12003011
,
0
,
0x4011
,
800
,
1000
,
3
,
RACE_SEASERPENT
,
ATTRIBUTE_WATER
,
POS_DEFENSE
,
1
-
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
12003011
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e1
:
SetValue
(
1
)
token
:
RegisterEffect
(
e1
,
true
)
end
Duel
.
SpecialSummonComplete
()
end
\ No newline at end of file
expansions/script/c33401052.lua
View file @
4906b3c9
...
...
@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetTarget
(
cm
.
tg
)
...
...
expansions/script/c33700941.lua
View file @
4906b3c9
...
...
@@ -12,7 +12,7 @@ function cm.initial_effect(c)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
if
#
g
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
if
g
:
GetClassCount
(
Card
.
GetCode
)
<#
g
then
return
end
local
rc
=
rscf
.
Get
RelationCard
(
e
)
local
rc
=
rscf
.
Get
FaceUpSelf
(
e
)
if
rc
then
e
:
GetLabelObject
():
SetLabel
(
1
)
end
...
...
expansions/script/c61000000.lua
View file @
4906b3c9
...
...
@@ -86,7 +86,7 @@ function c61000000.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000000
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000000
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000000.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c61000001.lua
View file @
4906b3c9
...
...
@@ -88,7 +88,7 @@ function c61000001.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000001
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000001
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000001.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c61000002.lua
View file @
4906b3c9
...
...
@@ -95,7 +95,7 @@ function c61000002.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000002
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000002
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000002.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c61000003.lua
View file @
4906b3c9
...
...
@@ -82,7 +82,7 @@ function c61000003.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000003
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000003
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000003.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c61000004.lua
View file @
4906b3c9
...
...
@@ -85,7 +85,7 @@ function c61000004.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000004
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000004
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000004.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c61000005.lua
View file @
4906b3c9
...
...
@@ -82,7 +82,7 @@ function c61000005.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000005
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000005
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000005.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c61000006.lua
View file @
4906b3c9
...
...
@@ -72,7 +72,7 @@ function c61000006.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33500901
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61000006
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
m
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
c
61000006
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
))
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
end
--function c61000006.drcon(e,tp,eg,ep,ev,re,r,rp)
-- return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousPosition(POS_FACEDOWN)
...
...
expansions/script/c66560003.lua
View file @
4906b3c9
--神器使 安托涅瓦
local
m
=
m
local
m
=
66560003
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--link summon
...
...
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