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
八宫一月
ygopro-scripts
Commits
60cc8a27
Commit
60cc8a27
authored
Sep 29, 2020
by
mercury233
Committed by
GitHub
Sep 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset gain effect when RESET_COPY (#1498)
parent
81f130bd
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
34 additions
and
5 deletions
+34
-5
c25793414.lua
c25793414.lua
+4
-1
c30312361.lua
c30312361.lua
+1
-0
c31111109.lua
c31111109.lua
+9
-0
c41209827.lua
c41209827.lua
+4
-1
c43237273.lua
c43237273.lua
+4
-1
c43387895.lua
c43387895.lua
+4
-1
c45014450.lua
c45014450.lua
+4
-1
c47387961.lua
c47387961.lua
+1
-0
c67926903.lua
c67926903.lua
+1
-0
c77584012.lua
c77584012.lua
+1
-0
c95453143.lua
c95453143.lua
+1
-0
No files found.
c25793414.lua
View file @
60cc8a27
...
...
@@ -68,7 +68,10 @@ end
function
c25793414
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
end
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
end
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c30312361.lua
View file @
60cc8a27
...
...
@@ -73,6 +73,7 @@ function c30312361.rstop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
local
e2
=
e
:
GetLabelObject
()
local
e1
=
e2
:
GetLabelObject
()
e1
:
Reset
()
...
...
c31111109.lua
View file @
60cc8a27
...
...
@@ -68,6 +68,7 @@ function c31111109.copyop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetLabel
(
cid
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetOperation
(
c31111109
.
rstop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -75,7 +76,15 @@ end
function
c31111109
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
local
atke
=
e
:
GetLabelObject
()
if
atke
then
atke
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
end
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
if
atke
then
atke
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
end
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
c41209827.lua
View file @
60cc8a27
...
...
@@ -109,7 +109,10 @@ end
function
c41209827
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
end
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
end
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c43237273.lua
View file @
60cc8a27
...
...
@@ -50,7 +50,10 @@ end
function
c43237273
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
end
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
end
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c43387895.lua
View file @
60cc8a27
...
...
@@ -81,7 +81,10 @@ end
function
c43387895
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
end
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
end
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c45014450.lua
View file @
60cc8a27
...
...
@@ -122,7 +122,10 @@ end
function
c45014450
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
end
if
cid
~=
0
then
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
end
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c47387961.lua
View file @
60cc8a27
...
...
@@ -80,6 +80,7 @@ function c47387961.rstop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
local
e6
=
e
:
GetLabelObject
()
local
e5
=
e6
:
GetLabelObject
()
local
e4
=
e5
:
GetLabelObject
()
...
...
c67926903.lua
View file @
60cc8a27
...
...
@@ -78,6 +78,7 @@ function c67926903.rstop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c77584012.lua
View file @
60cc8a27
...
...
@@ -57,6 +57,7 @@ function c77584012.rstop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
c95453143.lua
View file @
60cc8a27
...
...
@@ -63,6 +63,7 @@ function c95453143.rstop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
cid
=
e
:
GetLabel
()
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
local
e1
=
e
:
GetLabelObject
()
e1
:
Reset
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
...
...
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