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
281c4035
Commit
281c4035
authored
May 24, 2016
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #423 from mercury233/patch-3
fix 天帝アイテール
parents
40925d41
cc22b4ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
c96570609.lua
c96570609.lua
+13
-4
No files found.
c96570609.lua
View file @
281c4035
...
@@ -118,12 +118,21 @@ function c96570609.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -118,12 +118,21 @@ function c96570609.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
c
:
RegisterFlagEffect
(
96570609
,
RESET_CHAIN
,
0
,
1
)
c
:
RegisterFlagEffect
(
96570609
,
RESET_CHAIN
,
0
,
1
)
end
end
function
c96570609
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c96570609
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsSummonable
(
true
,
nil
,
1
)
end
local
c
=
e
:
GetHandler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
if
chk
==
0
then
return
c
:
IsSummonable
(
true
,
nil
,
1
)
or
c
:
IsMSetable
(
true
,
nil
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
c
,
1
,
0
,
0
)
end
end
function
c96570609
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96570609
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSummonable
(
true
,
nil
,
1
)
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Summon
(
tp
,
c
,
true
,
nil
,
1
)
local
sel
=
0
if
c
:
IsSummonable
(
true
,
nil
,
1
)
and
c
:
IsMSetable
(
true
,
nil
,
1
)
then
sel
=
Duel
.
SelectOption
(
tp
,
1151
,
1153
)
+
1
elseif
c
:
IsSummonable
(
true
,
nil
,
1
)
then
sel
=
Duel
.
SelectOption
(
tp
,
1151
)
+
1
elseif
c
:
IsMSetable
(
true
,
nil
,
1
)
then
sel
=
Duel
.
SelectOption
(
tp
,
1153
)
+
2
end
end
if
sel
==
1
then
Duel
.
Summon
(
tp
,
c
,
true
,
nil
,
1
)
end
if
sel
==
2
then
Duel
.
MSet
(
tp
,
c
,
true
,
nil
,
1
)
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