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
8950d581
Commit
8950d581
authored
Oct 20, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c6f8491b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
c39185163.lua
c39185163.lua
+6
-0
No files found.
c39185163.lua
View file @
8950d581
...
@@ -8,6 +8,7 @@ function c39185163.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c39185163.initial_effect(c)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c39185163
.
disrmcon
)
e1
:
SetCondition
(
c39185163
.
disrmcon
)
e1
:
SetCost
(
c39185163
.
disrmcost
)
e1
:
SetTarget
(
c39185163
.
disrmtg
)
e1
:
SetTarget
(
c39185163
.
disrmtg
)
e1
:
SetOperation
(
c39185163
.
disrmop
)
e1
:
SetOperation
(
c39185163
.
disrmop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -24,6 +25,11 @@ function c39185163.initial_effect(c)
...
@@ -24,6 +25,11 @@ function c39185163.initial_effect(c)
e2
:
SetOperation
(
c39185163
.
spop
)
e2
:
SetOperation
(
c39185163
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c39185163
.
disrmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
39185163
)
==
0
end
c
:
RegisterFlagEffect
(
39185163
,
RESET_CHAIN
,
0
,
1
)
end
function
c39185163
.
disrmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39185163
.
disrmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
re
:
GetHandler
()
local
c
=
re
:
GetHandler
()
local
race
=
c
:
GetRace
()
local
race
=
c
:
GetRace
()
...
...
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