Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
08eb37a9
Commit
08eb37a9
authored
Jan 05, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4527e030
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
c31833038.lua
c31833038.lua
+2
-1
c64734090.lua
c64734090.lua
+5
-6
c85216896.lua
c85216896.lua
+3
-1
No files found.
c31833038.lua
View file @
08eb37a9
...
@@ -77,8 +77,9 @@ function c31833038.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -77,8 +77,9 @@ function c31833038.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
tc
,
1
,
0
,
0
)
end
end
function
c31833038
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31833038
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttackTarget
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
GetAttackTarget
()
if
tc
then
if
tc
then
local
zone
=
bit
.
band
(
c
:
GetLinkedZone
(),
0x1f
)
local
zone
=
bit
.
band
(
c
:
GetLinkedZone
(),
0x1f
)
if
Duel
.
GetControl
(
tc
,
tp
,
0
,
0
,
zone
)
~=
0
then
if
Duel
.
GetControl
(
tc
,
tp
,
0
,
0
,
zone
)
~=
0
then
...
...
c64734090.lua
View file @
08eb37a9
...
@@ -3,7 +3,7 @@ function c64734090.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c64734090.initial_effect(c)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
64734090
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
64734090
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
c64734090
.
tg
)
e1
:
SetTarget
(
c64734090
.
tg
)
...
@@ -18,11 +18,10 @@ function c64734090.tg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -18,11 +18,10 @@ function c64734090.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c64734090
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64734090
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c64734090
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c64734090
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
end
c85216896.lua
View file @
08eb37a9
...
@@ -102,5 +102,7 @@ function c85216896.retcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -102,5 +102,7 @@ function c85216896.retcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c85216896
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c85216896
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetLabelObject
():
Filter
(
c85216896
.
retfilter
,
nil
)
local
g
=
e
:
GetLabelObject
():
Filter
(
c85216896
.
retfilter
,
nil
)
Duel
.
ReturnToField
(
g
)
for
tc
in
aux
.
Next
(
g
)
do
Duel
.
ReturnToField
(
tc
)
end
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