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
15484bae
Commit
15484bae
authored
Aug 21, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eratta
parent
4ca3566d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
c47946130.lua
c47946130.lua
+6
-0
No files found.
c47946130.lua
View file @
15484bae
...
@@ -28,6 +28,7 @@ function c47946130.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c47946130.initial_effect(c)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c47946130
.
negcon
)
e3
:
SetCondition
(
c47946130
.
negcon
)
e3
:
SetCondition
(
c47946130
.
ChainUniqueCost
)
-- 8/19 eratta: chain unique
e3
:
SetTarget
(
c47946130
.
negtg
)
e3
:
SetTarget
(
c47946130
.
negtg
)
e3
:
SetOperation
(
c47946130
.
negop
)
e3
:
SetOperation
(
c47946130
.
negop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -64,6 +65,11 @@ function c47946130.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -64,6 +65,11 @@ function c47946130.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
end
function
c47946130
.
ChainUniqueCost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
47946130
)
==
0
end
c
:
RegisterFlagEffect
(
47946130
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
,
0
,
1
)
end
function
c47946130
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c47946130
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsFacedown
()
or
c
:
GetAttack
()
<
500
or
not
c
:
IsRelateToEffect
(
e
)
if
c
:
IsFacedown
()
or
c
:
GetAttack
()
<
500
or
not
c
:
IsRelateToEffect
(
e
)
...
...
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