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
40c6c3b9
Commit
40c6c3b9
authored
Jun 08, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
a29368bf
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
31 additions
and
23 deletions
+31
-23
expansions/script/c13254062.lua
expansions/script/c13254062.lua
+2
-1
expansions/script/c13254063.lua
expansions/script/c13254063.lua
+2
-1
expansions/script/c13254064.lua
expansions/script/c13254064.lua
+2
-1
expansions/script/c13254065.lua
expansions/script/c13254065.lua
+2
-1
expansions/script/c13254067.lua
expansions/script/c13254067.lua
+2
-1
expansions/script/c13254069.lua
expansions/script/c13254069.lua
+2
-1
expansions/script/c13254073.lua
expansions/script/c13254073.lua
+2
-1
expansions/script/c13254074.lua
expansions/script/c13254074.lua
+2
-1
expansions/script/c13255229.lua
expansions/script/c13255229.lua
+4
-4
expansions/script/c65010091.lua
expansions/script/c65010091.lua
+2
-2
expansions/script/c65010124.lua
expansions/script/c65010124.lua
+1
-1
expansions/script/c65020011.lua
expansions/script/c65020011.lua
+2
-2
expansions/script/c65020012.lua
expansions/script/c65020012.lua
+2
-2
expansions/script/c65020013.lua
expansions/script/c65020013.lua
+2
-2
expansions/script/c65020026.lua
expansions/script/c65020026.lua
+2
-2
No files found.
expansions/script/c13254062.lua
View file @
40c6c3b9
...
...
@@ -153,8 +153,9 @@ function c13254062.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254062
.
tgfilter
(
c
)
...
...
expansions/script/c13254063.lua
View file @
40c6c3b9
...
...
@@ -158,8 +158,9 @@ function c13254063.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254063
.
destg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c13254064.lua
View file @
40c6c3b9
...
...
@@ -157,8 +157,9 @@ function c13254064.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254064
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c13254065.lua
View file @
40c6c3b9
...
...
@@ -150,8 +150,9 @@ function c13254065.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254065
.
sgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c13254067.lua
View file @
40c6c3b9
...
...
@@ -153,8 +153,9 @@ function c13254067.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254067
.
operation3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c13254069.lua
View file @
40c6c3b9
...
...
@@ -145,8 +145,9 @@ function c13254069.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254069
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c13254073.lua
View file @
40c6c3b9
...
...
@@ -151,8 +151,9 @@ function c13254073.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
1
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
--Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(13254073,4))
--local sel=Duel.SelectOption(tp,70,71,72)
...
...
expansions/script/c13254074.lua
View file @
40c6c3b9
...
...
@@ -145,8 +145,9 @@ function c13254074.penop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
~=
2
then
return
end
Duel
.
BreakEffect
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
false
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
function
c13254074
.
drtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c13255229.lua
View file @
40c6c3b9
...
...
@@ -8,8 +8,8 @@ function c13255229.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetTarget
(
c13255229
.
thtg
)
e1
:
SetOperation
(
c13255229
.
thop
)
e1
:
SetTarget
(
c13255229
.
thtg
1
)
e1
:
SetOperation
(
c13255229
.
thop
1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
13255229
,
0
))
...
...
@@ -17,8 +17,8 @@ function c13255229.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetTarget
(
c13255229
.
thtg
1
)
e2
:
SetOperation
(
c13255229
.
thop
1
)
e2
:
SetTarget
(
c13255229
.
thtg
)
e2
:
SetOperation
(
c13255229
.
thop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
13255229
,
1
))
...
...
expansions/script/c65010091.lua
View file @
40c6c3b9
...
...
@@ -34,7 +34,7 @@ function c65010091.initial_effect(c)
--counter
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_DISABLE_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e4
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e4
:
SetCode
(
EVENT_SPSUMMON
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
65010091
)
...
...
@@ -65,7 +65,7 @@ function c65010091.discon(e,tp,eg,ep,ev,re,r,rp)
return
tp
~=
ep
and
Duel
.
GetCurrentChain
()
==
0
and
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
function
c65010091
.
costfil
(
c
)
return
c
:
IsSetCard
(
0x9da0
)
and
c
:
IsAbleToHandAsCost
()
return
c
:
IsSetCard
(
0x9da0
)
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c65010091
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65010091
.
costfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c65010124.lua
View file @
40c6c3b9
...
...
@@ -7,9 +7,9 @@ function c65010124.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetTarget
(
c65010124
.
notgtg
)
...
...
expansions/script/c65020011.lua
View file @
40c6c3b9
...
...
@@ -17,13 +17,13 @@ function c65020011.initial_effect(c)
e2
:
SetOperation
(
c65020011
.
op
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
Set
Property
(
EFFECT_TYPE_QUICK_O
)
e3
:
Set
Type
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
c65020011
.
ccon
)
c
:
RegisterEffect
(
e3
)
end
function
c65020011
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
re
:
GetHandlerPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
~=
tp
end
function
c65020011
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c65020012.lua
View file @
40c6c3b9
...
...
@@ -17,13 +17,13 @@ function c65020012.initial_effect(c)
e2
:
SetOperation
(
c65020012
.
op
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
Set
Property
(
EFFECT_TYPE_QUICK_O
)
e3
:
Set
Type
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
c65020012
.
ccon
)
c
:
RegisterEffect
(
e3
)
end
function
c65020012
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
re
:
GetHandlerPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
~=
tp
end
function
c65020012
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
expansions/script/c65020013.lua
View file @
40c6c3b9
...
...
@@ -17,13 +17,13 @@ function c65020013.initial_effect(c)
e2
:
SetOperation
(
c65020013
.
op
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
Set
Property
(
EFFECT_TYPE_QUICK_O
)
e3
:
Set
Type
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
c65020013
.
ccon
)
c
:
RegisterEffect
(
e3
)
end
function
c65020013
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
re
:
GetHandlerPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
~=
tp
end
function
c65020013
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c65020026.lua
View file @
40c6c3b9
...
...
@@ -17,13 +17,13 @@ function c65020026.initial_effect(c)
e2
:
SetOperation
(
c65020026
.
op
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
Set
Property
(
EFFECT_TYPE_QUICK_O
)
e3
:
Set
Type
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
c65020026
.
ccon
)
c
:
RegisterEffect
(
e3
)
end
function
c65020026
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
re
:
GetHandlerPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
~=
tp
end
function
c65020026
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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