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
577d03ea
Commit
577d03ea
authored
May 15, 2018
by
dest
Committed by
mercury233
May 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dice effects (#1053)
parent
1516aaed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
c32015116.lua
c32015116.lua
+4
-2
No files found.
c32015116.lua
View file @
577d03ea
...
@@ -27,10 +27,12 @@ function c32015116.rdtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -27,10 +27,12 @@ function c32015116.rdtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
end
end
function
c32015116
.
rdfilter
(
c
,
lv
)
function
c32015116
.
rdfilter
(
c
,
lv
)
if
lv
~=
6
then
if
lv
<=
5
then
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
==
lv
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
==
lv
else
else
if
lv
==
6
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>=
6
end
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>=
6
end
else
return
false
end
end
function
c32015116
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32015116
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
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