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
1eb30870
Commit
1eb30870
authored
Aug 25, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a9b0a071
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
c13536606.lua
c13536606.lua
+1
-1
c57043986.lua
c57043986.lua
+1
-6
No files found.
c13536606.lua
View file @
1eb30870
...
@@ -30,7 +30,7 @@ function c13536606.atkval(e,c)
...
@@ -30,7 +30,7 @@ function c13536606.atkval(e,c)
return
c
:
GetMutualLinkedGroupCount
()
*
300
return
c
:
GetMutualLinkedGroupCount
()
*
300
end
end
function
c13536606
.
rfilter
(
c
,
tp
,
g
)
function
c13536606
.
rfilter
(
c
,
tp
,
g
)
local
ft
=
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
Get
MZoneCount
(
tp
,
c
)
local
lk
=
math.min
(
3
,
ft
)
local
lk
=
math.min
(
3
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsLinkBelow
(
lk
)
and
c
:
IsReleasableByEffect
()
and
g
:
IsContains
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsLinkBelow
(
lk
)
and
c
:
IsReleasableByEffect
()
and
g
:
IsContains
(
c
)
and
(
ft
==
1
or
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
))
and
(
ft
==
1
or
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
))
...
...
c57043986.lua
View file @
1eb30870
...
@@ -40,7 +40,7 @@ end
...
@@ -40,7 +40,7 @@ end
function
c57043986
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57043986
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
((
tc
:
IsFaceup
()
and
not
tc
:
IsDisabled
())
or
tc
:
IsType
(
TYPE_TRAPMONSTER
)
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
not
tc
:
IsDisabled
(
)
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -52,11 +52,6 @@ function c57043986.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,11 +52,6 @@ function c57043986.negop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetValue
(
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
if
tc
:
IsType
(
TYPE_TRAPMONSTER
)
then
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_DISABLE_TRAPMONSTER
)
tc
:
RegisterEffect
(
e3
)
end
end
end
end
end
function
c57043986
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57043986
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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