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
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
MyCard
ygopro-scripts
Commits
3f2d4a3c
Commit
3f2d4a3c
authored
Jan 05, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a72ba1a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c19302550.lua
c19302550.lua
+1
-1
utility.lua
utility.lua
+1
-1
No files found.
c19302550.lua
View file @
3f2d4a3c
...
@@ -36,7 +36,7 @@ function c19302550.splimit(e,c,sump,sumtype,sumpos,targetp)
...
@@ -36,7 +36,7 @@ function c19302550.splimit(e,c,sump,sumtype,sumpos,targetp)
return
not
c
:
IsSetCard
(
0xaf
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
not
c
:
IsSetCard
(
0xaf
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
end
function
c19302550
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19302550
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsChain
Negat
able
(
ev
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
aux
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
e
:
GetHandler
():
GetFlagEffect
(
19302550
)
==
0
return
Duel
.
IsChain
Disabl
able
(
ev
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
aux
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
e
:
GetHandler
():
GetFlagEffect
(
19302550
)
==
0
end
end
function
c19302550
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19302550
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
19302550
,
1
))
then
return
end
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
19302550
,
1
))
then
return
end
...
...
utility.lua
View file @
3f2d4a3c
...
@@ -1753,6 +1753,6 @@ end
...
@@ -1753,6 +1753,6 @@ end
--filter for necro_valley test
--filter for necro_valley test
function
Auxiliary
.
NecroValleyFilter
(
f
)
function
Auxiliary
.
NecroValleyFilter
(
f
)
return
function
(
target
,
...
)
return
function
(
target
,
...
)
return
f
(
target
,
...
)
and
not
target
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
return
f
(
target
,
...
)
and
not
(
target
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
Duel
.
IsChainDisablable
(
0
)
)
end
end
end
end
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