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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
bebe46e5
Commit
bebe46e5
authored
Aug 23, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
250013e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c39100101.lua
expansions/script/c39100101.lua
+1
-1
expansions/script/c39100131.lua
expansions/script/c39100131.lua
+2
-2
expansions/script/c39100151.lua
expansions/script/c39100151.lua
+2
-2
No files found.
expansions/script/c39100101.lua
View file @
bebe46e5
...
...
@@ -70,7 +70,7 @@ function Suyu_Tarot.search(c,code,cat,tg,op)
e2
:
SetCode
(
EVENT_RELEASE
)
e2
:
SetCountLimit
(
1
,
code
)
e2
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
IsReason
(
REASON_SUMMON
)
or
r
==
REASON_RITUAL
)
and
Suyu_Tarot
.
excon
(
tp
)
return
(
e
:
GetHandler
():
IsReason
(
REASON_SUMMON
)
or
e
:
GetHandler
():
IsReason
(
REASON_RITUAL
)
)
and
Suyu_Tarot
.
excon
(
tp
)
end
)
e2
:
SetTarget
(
tg
)
e2
:
SetOperation
(
op
)
...
...
expansions/script/c39100131.lua
View file @
bebe46e5
...
...
@@ -36,8 +36,8 @@ end
function
cm
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
rec
=
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
if
rec
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter5
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
()
,
rec
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
4
))
then
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tdfilter5
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
e
:
GetHandler
()
,
rec
)
if
rec
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter5
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
rec
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
4
))
then
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tdfilter5
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
rec
)
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
g1
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
tp
,
g1
)
...
...
expansions/script/c39100151.lua
View file @
bebe46e5
...
...
@@ -3,7 +3,7 @@ local m=39100151
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c39100101.lua"
)
function
cm
.
initial_effect
(
c
)
--
local e0=Suyu_Tarot.advsum(c)
--
local e0=Suyu_Tarot.advsum(c)
local
e1
=
Suyu_Tarot
.
spsummon
(
c
,
m
,
nil
,
cm
.
cond
,
cm
.
op
)
local
e2
=
Suyu_Tarot
.
search
(
c
,
m
,
CATEGORY_REMOVE
,
cm
.
thtg
,
cm
.
thop
)
end
...
...
@@ -37,7 +37,7 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroup
(
1
-
tp
,
LOCATION_DECK
,
0
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroup
Count
(
1
-
tp
,
LOCATION_DECK
,
0
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
1
-
tp
,
LOCATION_DECK
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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