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
061fb9bd
Commit
061fb9bd
authored
Jul 31, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a6e29b58
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
c29834183.lua
c29834183.lua
+2
-1
c66451379.lua
c66451379.lua
+2
-1
c69831560.lua
c69831560.lua
+6
-4
c93445074.lua
c93445074.lua
+2
-1
No files found.
c29834183.lua
View file @
061fb9bd
...
@@ -66,7 +66,7 @@ function c29834183.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c29834183.eqop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetOperation
(
c29834183
.
desop
)
e4
:
SetOperation
(
c29834183
.
desop
)
e4
:
SetReset
(
RESET_EVENT
+
RESET
S_STANDARD
-
RESET_LEAVE
)
e4
:
SetReset
(
RESET_EVENT
+
RESET
_OVERLAY
+
RESET_TOFIELD
)
e4
:
SetLabelObject
(
e3
)
e4
:
SetLabelObject
(
e3
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
@@ -77,6 +77,7 @@ function c29834183.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,7 @@ function c29834183.checkop(e,tp,eg,ep,ev,re,r,rp)
else
e
:
SetLabel
(
0
)
end
else
e
:
SetLabel
(
0
)
end
end
end
function
c29834183
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c29834183
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
Reset
()
if
e
:
GetLabelObject
():
GetLabel
()
~=
0
then
return
end
if
e
:
GetLabelObject
():
GetLabel
()
~=
0
then
return
end
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
...
...
c66451379.lua
View file @
061fb9bd
...
@@ -66,7 +66,7 @@ function c66451379.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c66451379.eqop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetOperation
(
c66451379
.
desop
)
e4
:
SetOperation
(
c66451379
.
desop
)
e4
:
SetReset
(
RESET_EVENT
+
RESET
S_STANDARD
-
RESET_LEAVE
)
e4
:
SetReset
(
RESET_EVENT
+
RESET
_OVERLAY
+
RESET_TOFIELD
)
e4
:
SetLabelObject
(
e3
)
e4
:
SetLabelObject
(
e3
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
@@ -77,6 +77,7 @@ function c66451379.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,7 @@ function c66451379.checkop(e,tp,eg,ep,ev,re,r,rp)
else
e
:
SetLabel
(
0
)
end
else
e
:
SetLabel
(
0
)
end
end
end
function
c66451379
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66451379
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
Reset
()
if
e
:
GetLabelObject
():
GetLabel
()
~=
0
then
return
end
if
e
:
GetLabelObject
():
GetLabel
()
~=
0
then
return
end
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
...
...
c69831560.lua
View file @
061fb9bd
...
@@ -104,7 +104,8 @@ function c69831560.arcanareg(c,coin)
...
@@ -104,7 +104,8 @@ function c69831560.arcanareg(c,coin)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetOperation
(
c69831560
.
desop2
)
e4
:
SetOperation
(
c69831560
.
desop2
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
)
e4
:
SetReset
(
RESET_EVENT
+
RESET_OVERLAY
+
RESET_TOFIELD
)
e4
:
SetLabelObject
(
e3
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterFlagEffect
(
36690018
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
coin
,
63
-
coin
)
c
:
RegisterFlagEffect
(
36690018
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
coin
,
63
-
coin
)
end
end
...
@@ -129,12 +130,13 @@ function c69831560.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -129,12 +130,13 @@ function c69831560.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c69831560
.
desop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69831560
.
desop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
and
e
:
GetHandler
():
GetFlagEffectLabel
(
36690018
)
==
0
then
if
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
and
e
:
GetHandler
():
GetFlagEffectLabel
(
36690018
)
==
0
then
e
:
GetHandler
():
RegisterFlagEffect
(
69831560
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
,
0
,
1
)
e
:
SetLabel
(
1
)
end
e
lse
e
:
SetLabel
(
0
)
e
nd
end
end
function
c69831560
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69831560
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
Get
Handler
():
GetFlagEffect
(
69831560
)
~=
0
then
if
e
:
Get
LabelObject
():
GetLabel
(
)
~=
0
then
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
e
:
Reset
()
end
end
c93445074.lua
View file @
061fb9bd
...
@@ -66,7 +66,7 @@ function c93445074.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c93445074.eqop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetOperation
(
c93445074
.
desop
)
e4
:
SetOperation
(
c93445074
.
desop
)
e4
:
SetReset
(
RESET_EVENT
+
RESET
S_STANDARD
-
RESET_LEAVE
)
e4
:
SetReset
(
RESET_EVENT
+
RESET
_OVERLAY
+
RESET_TOFIELD
)
e4
:
SetLabelObject
(
e3
)
e4
:
SetLabelObject
(
e3
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
@@ -77,6 +77,7 @@ function c93445074.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,7 @@ function c93445074.checkop(e,tp,eg,ep,ev,re,r,rp)
else
e
:
SetLabel
(
0
)
end
else
e
:
SetLabel
(
0
)
end
end
end
function
c93445074
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93445074
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
Reset
()
if
e
:
GetLabelObject
():
GetLabel
()
~=
0
then
return
end
if
e
:
GetLabelObject
():
GetLabel
()
~=
0
then
return
end
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
...
...
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