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
5dedc518
Commit
5dedc518
authored
Aug 20, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
65ee80f7
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
50 additions
and
8 deletions
+50
-8
expansions/script/c33400014.lua
expansions/script/c33400014.lua
+1
-1
expansions/script/c61000000.lua
expansions/script/c61000000.lua
+7
-1
expansions/script/c61000001.lua
expansions/script/c61000001.lua
+7
-1
expansions/script/c61000002.lua
expansions/script/c61000002.lua
+7
-1
expansions/script/c61000003.lua
expansions/script/c61000003.lua
+7
-1
expansions/script/c61000004.lua
expansions/script/c61000004.lua
+7
-1
expansions/script/c61000005.lua
expansions/script/c61000005.lua
+7
-1
expansions/script/c61000006.lua
expansions/script/c61000006.lua
+7
-1
No files found.
expansions/script/c33400014.lua
View file @
5dedc518
...
...
@@ -2,7 +2,7 @@
function
c33400014
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x34f
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x3341
),
8
,
2
)
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
,
nil
,
nil
,
99
)
c
:
EnableReviveLimit
()
--direct attack
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c61000000.lua
View file @
5dedc518
...
...
@@ -82,9 +82,15 @@ end
function
c61000000
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x980
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000000
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c61000000
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c61000001.lua
View file @
5dedc518
...
...
@@ -84,9 +84,15 @@ end
function
c61000001
.
filter
(
c
)
return
c
:
IsSetCard
(
0x980
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000001
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c61000001
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c61000002.lua
View file @
5dedc518
...
...
@@ -91,9 +91,15 @@ function c61000002.operation(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e3
)
end
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000002
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
...
expansions/script/c61000003.lua
View file @
5dedc518
...
...
@@ -78,9 +78,15 @@ end
function
c61000003
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000003
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c61000003
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
...
...
expansions/script/c61000004.lua
View file @
5dedc518
...
...
@@ -81,9 +81,15 @@ end
function
c61000004
.
drfilter
(
c
)
return
c
:
IsSetCard
(
0x980
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000004
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c61000004
.
drfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c61000005.lua
View file @
5dedc518
...
...
@@ -78,9 +78,15 @@ function c61000005.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000005
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
...
...
expansions/script/c61000006.lua
View file @
5dedc518
...
...
@@ -68,9 +68,15 @@ end
function
c61000006
.
filter1
(
c
)
return
c
:
IsSetCard
(
0x980
)
and
c
:
IsAbleToDeck
()
end
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
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEDOWN
)
return
(
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
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)
--end
function
c61000006
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c61000006
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
0
,
0
)
...
...
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