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
Soulgamer
ygopro-222DIY-cards
Commits
d5fd948c
Commit
d5fd948c
authored
Jul 27, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
f944a334
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
16 deletions
+7
-16
expansions/script/c33501411.lua
expansions/script/c33501411.lua
+3
-13
expansions/script/c33700993.lua
expansions/script/c33700993.lua
+1
-1
expansions/script/c33701066.lua
expansions/script/c33701066.lua
+1
-1
expansions/script/c65040038.lua
expansions/script/c65040038.lua
+2
-1
No files found.
expansions/script/c33501411.lua
View file @
d5fd948c
...
@@ -48,9 +48,8 @@ function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -48,9 +48,8 @@ function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
):
GetFirst
()
if
#
g
>
0
then
if
tc
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
if
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -68,15 +67,6 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,15 +67,6 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetLabelObject
(
tc
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_DISABLE_TRAPMONSTER
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
cm
.
distg
)
e3
:
SetLabelObject
(
tc
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
end
end
end
function
cm
.
distg
(
e
,
c
)
function
cm
.
distg
(
e
,
c
)
...
@@ -89,4 +79,4 @@ function cm.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +79,4 @@ function cm.discon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
end
end
\ No newline at end of file
expansions/script/c33700993.lua
View file @
d5fd948c
...
@@ -22,7 +22,7 @@ function cm.op(e,tp)
...
@@ -22,7 +22,7 @@ function cm.op(e,tp)
Duel
.
RegisterEffect
(
e4
,
tp
)
Duel
.
RegisterEffect
(
e4
,
tp
)
local
e5
=
e4
:
Clone
()
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_SSET
)
e5
:
SetCode
(
EFFECT_CANNOT_SSET
)
Duel
.
RegisterEffect
(
e
8
,
tp
)
Duel
.
RegisterEffect
(
e
5
,
tp
)
local
e6
=
e4
:
Clone
()
local
e6
=
e4
:
Clone
()
e6
:
SetCode
(
EFFECT_CANNOT_TURN_SET
)
e6
:
SetCode
(
EFFECT_CANNOT_TURN_SET
)
Duel
.
RegisterEffect
(
e6
,
tp
)
Duel
.
RegisterEffect
(
e6
,
tp
)
...
...
expansions/script/c33701066.lua
View file @
d5fd948c
...
@@ -51,7 +51,7 @@ end
...
@@ -51,7 +51,7 @@ end
function
c33701066
.
recost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33701066
.
recost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33701066
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33701066
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33701066
.
costfilter
,
tp
,
LOCATION_HAND
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33701066
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
())
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
()
*
500
)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
()
*
500
)
Duel
.
DiscardHand
(
g
,
1
,
REASON_COST
)
Duel
.
DiscardHand
(
g
,
1
,
REASON_COST
)
end
end
...
...
expansions/script/c65040038.lua
View file @
d5fd948c
...
@@ -24,7 +24,8 @@ function c65040038.tg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -24,7 +24,8 @@ function c65040038.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
if
op
==
0
then
if
op
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
65040038
,
RESET_CHAIN
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
65040038
,
RESET_CHAIN
,
0
,
1
)
local
typ
=
Duel
.
SetOperationInfo
(
1
-
tp
,
aux
.
Stringid
(
65040038
,
2
),
aux
.
Stringid
(
65040038
,
3
))
local
typ1
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
65040038
,
2
),
aux
.
Stringid
(
65040038
,
3
))
e
:
SetLabel
(
typ1
)
e
:
SetCategory
(
CATEGORY_DRAW
)
e
:
SetCategory
(
CATEGORY_DRAW
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
0
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
0
,
0
,
tp
,
1
)
end
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