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
1791dcab
Commit
1791dcab
authored
Feb 21, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
potral
parent
ca4d534e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
11 deletions
+13
-11
expansions/script/c30557001.lua
expansions/script/c30557001.lua
+3
-3
expansions/script/c33400033.lua
expansions/script/c33400033.lua
+5
-3
expansions/script/c65020113.lua
expansions/script/c65020113.lua
+1
-1
expansions/script/c65020115.lua
expansions/script/c65020115.lua
+1
-1
expansions/script/c65020117.lua
expansions/script/c65020117.lua
+1
-1
expansions/script/c65020119.lua
expansions/script/c65020119.lua
+1
-1
expansions/script/c65020132.lua
expansions/script/c65020132.lua
+1
-1
No files found.
expansions/script/c30557001.lua
View file @
1791dcab
...
@@ -60,11 +60,11 @@ function c30557001.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,11 +60,11 @@ function c30557001.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c30557001
.
cfilter
(
c
)
function
c30557001
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x306
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x306
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c30557001
.
descon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30557001
.
descon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c30557001
.
cfilter
,
1
,
nil
)
return
eg
:
IsExists
(
c30557001
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c30557001
.
spfilter
(
c
,
e
,
tp
)
function
c30557001
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x306
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
return
c
:
IsSetCard
(
0x306
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
...
...
expansions/script/c33400033.lua
View file @
1791dcab
...
@@ -228,9 +228,11 @@ function c33400033.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -228,9 +228,11 @@ function c33400033.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
c33400033
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33400033
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33400033
,
6
))
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c33400033
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c33400033
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c65020113.lua
View file @
1791dcab
...
@@ -30,7 +30,7 @@ function c65020113.thfil1(c,e,tp)
...
@@ -30,7 +30,7 @@ function c65020113.thfil1(c,e,tp)
end
end
function
c65020113
.
thfil2
(
c
,
fc
)
function
c65020113
.
thfil2
(
c
,
fc
)
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToRemove
()
then
return
false
end
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToRemove
()
then
return
false
end
return
c
:
IsCode
(
table.unpack
(
fc
.
material
))
and
not
c
:
IsCode
(
65020113
)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
(
))
and
not
c
:
IsCode
(
65020113
)
end
end
function
c65020113
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65020113
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020113
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020113
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c65020115.lua
View file @
1791dcab
...
@@ -29,7 +29,7 @@ function c65020115.thfil1(c,e,tp)
...
@@ -29,7 +29,7 @@ function c65020115.thfil1(c,e,tp)
end
end
function
c65020115
.
thfil2
(
c
,
fc
)
function
c65020115
.
thfil2
(
c
,
fc
)
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToHand
()
then
return
false
end
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToHand
()
then
return
false
end
return
c
:
IsCode
(
table.unpack
(
fc
.
material
))
and
not
c
:
IsCode
(
65020115
)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
(
))
and
not
c
:
IsCode
(
65020115
)
end
end
function
c65020115
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65020115
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020115
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020115
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c65020117.lua
View file @
1791dcab
...
@@ -33,7 +33,7 @@ function c65020117.thfil1(c,e,tp)
...
@@ -33,7 +33,7 @@ function c65020117.thfil1(c,e,tp)
end
end
function
c65020117
.
thfil2
(
c
,
fc
)
function
c65020117
.
thfil2
(
c
,
fc
)
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToGrave
()
then
return
false
end
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToGrave
()
then
return
false
end
return
c
:
IsCode
(
table.unpack
(
fc
.
material
))
and
not
c
:
IsCode
(
65020117
)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
(
))
and
not
c
:
IsCode
(
65020117
)
end
end
function
c65020117
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65020117
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020117
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020117
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c65020119.lua
View file @
1791dcab
...
@@ -26,7 +26,7 @@ function c65020119.thfil1(c,e,tp)
...
@@ -26,7 +26,7 @@ function c65020119.thfil1(c,e,tp)
end
end
function
c65020119
.
thfil2
(
c
,
fc
,
e
,
tp
)
function
c65020119
.
thfil2
(
c
,
fc
,
e
,
tp
)
if
c
:
IsForbidden
()
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
false
end
if
c
:
IsForbidden
()
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
false
end
return
c
:
IsCode
(
table.unpack
(
fc
.
material
))
and
not
c
:
IsCode
(
65020119
)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
(
))
and
not
c
:
IsCode
(
65020119
)
end
end
function
c65020119
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65020119
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020119
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020119
.
thfil1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
...
...
expansions/script/c65020132.lua
View file @
1791dcab
...
@@ -36,7 +36,7 @@ function c65020132.cfil(c,tp)
...
@@ -36,7 +36,7 @@ function c65020132.cfil(c,tp)
end
end
function
c65020132
.
matfil
(
c
,
fc
)
function
c65020132
.
matfil
(
c
,
fc
)
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToHand
()
then
return
false
end
if
c
:
IsForbidden
()
or
not
c
:
IsAbleToHand
()
then
return
false
end
return
c
:
IsCode
(
table.unpack
(
fc
.
material
))
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
(
))
end
end
function
c65020132
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65020132
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c65020132
.
cfil
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c65020132
.
cfil
(
chkc
,
tp
)
end
...
...
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