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
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
MyCard
ygopro-scripts
Commits
3da12d95
Commit
3da12d95
authored
Dec 18, 2019
by
DailyShana
Committed by
mercury233
Dec 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clear operation info when copying effect (#1275)
parent
4a4d8da7
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
17 deletions
+13
-17
c22628574.lua
c22628574.lua
+1
-2
c25339070.lua
c25339070.lua
+1
-1
c38844957.lua
c38844957.lua
+1
-1
c51728779.lua
c51728779.lua
+1
-1
c52840267.lua
c52840267.lua
+1
-1
c56981417.lua
c56981417.lua
+1
-1
c58242947.lua
c58242947.lua
+1
-1
c64756282.lua
c64756282.lua
+1
-1
c6511113.lua
c6511113.lua
+2
-4
c70369116.lua
c70369116.lua
+1
-1
c79766336.lua
c79766336.lua
+1
-2
c88234365.lua
c88234365.lua
+1
-1
No files found.
c22628574.lua
View file @
3da12d95
...
...
@@ -37,10 +37,9 @@ function c22628574.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e
:
SetLabelObject
(
te
)
Duel
.
ClearTargetCard
()
local
tg
=
te
:
GetTarget
()
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
if
tg
then
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c22628574
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c25339070.lua
View file @
3da12d95
...
...
@@ -65,8 +65,8 @@ function c25339070.cptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
end
function
c25339070
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c38844957.lua
View file @
3da12d95
...
...
@@ -40,10 +40,10 @@ function c38844957.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
te
=
g
:
GetFirst
():
CheckActivateEffect
(
true
,
true
,
false
)
e
:
SetLabelObject
(
te
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
local
tg
=
te
:
GetTarget
()
if
tg
then
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
ClearOperationInfo
(
0
)
end
function
c38844957
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c51728779.lua
View file @
3da12d95
...
...
@@ -77,8 +77,8 @@ function c51728779.cptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
end
function
c51728779
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c52840267.lua
View file @
3da12d95
...
...
@@ -71,8 +71,8 @@ function c52840267.cptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
end
function
c52840267
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c56981417.lua
View file @
3da12d95
...
...
@@ -43,7 +43,6 @@ function c56981417.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
c56981417
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
te
=
g
:
GetFirst
():
CheckActivateEffect
(
true
,
true
,
false
)
Duel
.
ClearTargetCard
()
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
e
:
SetLabel
(
te
:
GetLabel
())
e
:
SetLabelObject
(
te
:
GetLabelObject
())
...
...
@@ -52,6 +51,7 @@ function c56981417.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
te
:
SetLabel
(
e
:
GetLabel
())
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c56981417
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c58242947.lua
View file @
3da12d95
...
...
@@ -34,10 +34,10 @@ function c58242947.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
if
chk
==
0
then
return
true
end
if
not
te
then
return
end
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
local
tg
=
te
:
GetTarget
()
if
tg
then
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
ClearOperationInfo
(
0
)
end
function
c58242947
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
c58242947
[
Duel
.
GetCurrentChain
()]
...
...
c64756282.lua
View file @
3da12d95
...
...
@@ -88,7 +88,6 @@ function c64756282.cptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
return
tg
and
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
,
chkc
,
c
)
end
if
chk
==
0
then
return
true
end
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
e
:
SetLabel
(
te
:
GetLabel
())
e
:
SetLabelObject
(
te
:
GetLabelObject
())
...
...
@@ -97,6 +96,7 @@ function c64756282.cptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
te
:
SetLabel
(
e
:
GetLabel
())
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c64756282
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c6511113.lua
View file @
3da12d95
...
...
@@ -88,13 +88,12 @@ function c6511113.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
te
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
g
:
GetFirst
():
CheckActivateEffect
(
false
,
true
,
true
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
local
tg
=
te
:
GetTarget
()
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c6511113
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
@@ -134,7 +133,6 @@ function c6511113.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
local
tg
=
te
:
GetTarget
()
if
tg
then
...
...
@@ -146,5 +144,5 @@ function c6511113.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
Duel
.
ClearOperationInfo
(
0
)
end
c70369116.lua
View file @
3da12d95
...
...
@@ -64,11 +64,11 @@ function c70369116.cptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c70369116
.
cpfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
te
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
g
:
GetFirst
():
CheckActivateEffect
(
false
,
true
,
true
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetProperty
(
te
:
GetProperty
())
local
tg
=
te
:
GetTarget
()
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c70369116
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c79766336.lua
View file @
3da12d95
...
...
@@ -35,12 +35,11 @@ function c79766336.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
ClearTargetCard
()
g
:
GetFirst
():
CreateEffectRelation
(
e
)
local
tg
=
te
:
GetTarget
()
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c79766336
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
c88234365.lua
View file @
3da12d95
...
...
@@ -62,8 +62,8 @@ function c88234365.cptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
end
function
c88234365
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
...
...
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