Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
a49b8612
Commit
a49b8612
authored
Jun 14, 2021
by
mercury233
Committed by
GitHub
Jun 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 烈風帝ライザー
parent
684a25c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
c69327790.lua
c69327790.lua
+17
-13
No files found.
c69327790.lua
View file @
a49b8612
...
@@ -51,24 +51,28 @@ end
...
@@ -51,24 +51,28 @@ end
function
c69327790
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c69327790
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
if
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
e
:
GetLabel
()
==
1
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
g1
:
GetFirst
())
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
69327790
,
2
))
then
if
e
:
GetLabel
()
==
1
e
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
g1
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
69327790
,
2
))
then
local
g3
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
g1
:
GetFirst
())
e
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g3
,
1
,
0
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g3
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
g1
:
GetFirst
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g3
,
1
,
0
,
0
)
end
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g1
,
2
,
0
,
0
)
end
end
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g1
,
2
,
0
,
0
)
end
end
function
c69327790
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69327790
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex
,
g1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TODECK
)
local
ex
,
g1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TODECK
)
local
ex2
,
g2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TOHAND
)
local
ex2
,
g2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TOHAND
)
if
not
g1
then
return
end
local
sg1
=
g1
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
sg1
=
g1
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
sg1
:
GetCount
()
>
0
and
Duel
.
SendtoDeck
(
sg1
,
nil
,
0
,
REASON_EFFECT
)
>
1
then
if
sg1
:
GetCount
()
>
0
and
Duel
.
SendtoDeck
(
sg1
,
nil
,
0
,
REASON_EFFECT
)
>
1
then
local
tc1
=
sg1
:
GetFirst
()
local
tc1
=
sg1
:
GetFirst
()
...
...
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