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
5e228d2d
Commit
5e228d2d
authored
Dec 20, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duel.CheckTribute()
parent
d11e82a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
c10000080.lua
c10000080.lua
+1
-1
c96570609.lua
c96570609.lua
+1
-1
constant.lua
constant.lua
+1
-1
No files found.
c10000080.lua
View file @
5e228d2d
...
@@ -78,7 +78,7 @@ end
...
@@ -78,7 +78,7 @@ end
function
c10000080
.
ttcon2
(
e
,
c
)
function
c10000080
.
ttcon2
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckTribute
(
c
,
3
,
3
,
nil
,
1
-
tp
)
return
Duel
.
CheckTribute
(
c
,
3
,
nil
,
1
-
tp
)
end
end
function
c10000080
.
ttop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c10000080
.
ttop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
local
mg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
...
...
c96570609.lua
View file @
5e228d2d
...
@@ -44,7 +44,7 @@ end
...
@@ -44,7 +44,7 @@ end
function
c96570609
.
otcon
(
e
,
c
)
function
c96570609
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
mg
)
end
end
function
c96570609
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c96570609
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
...
...
constant.lua
View file @
5e228d2d
...
@@ -397,7 +397,7 @@ EFFECT_SELF_TOGRAVE =142 --不入連鎖的送墓
...
@@ -397,7 +397,7 @@ EFFECT_SELF_TOGRAVE =142 --不入連鎖的送墓
EFFECT_DOUBLE_TRIBUTE
=
150
--可以作为2个祭品
EFFECT_DOUBLE_TRIBUTE
=
150
--可以作为2个祭品
EFFECT_DECREASE_TRIBUTE
=
151
--减少祭品
EFFECT_DECREASE_TRIBUTE
=
151
--减少祭品
EFFECT_DECREASE_TRIBUTE_SET
=
152
--减少放置怪兽的祭品
EFFECT_DECREASE_TRIBUTE_SET
=
152
--减少放置怪兽的祭品
EFFECT_EXTRA_RELEASE
=
153
--代替解放(灵魂交错)
EFFECT_EXTRA_RELEASE
=
153
--
必須使用的
代替解放(灵魂交错)
EFFECT_TRIBUTE_LIMIT
=
154
--祭品限制
EFFECT_TRIBUTE_LIMIT
=
154
--祭品限制
EFFECT_EXTRA_RELEASE_SUM
=
155
--代替召唤解放(帝王的烈旋)
EFFECT_EXTRA_RELEASE_SUM
=
155
--代替召唤解放(帝王的烈旋)
EFFECT_TRIPLE_TRIBUTE
=
156
EFFECT_TRIPLE_TRIBUTE
=
156
...
...
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