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
28cfc2d4
Commit
28cfc2d4
authored
Aug 05, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
48d9c91f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
c17092736.lua
c17092736.lua
+1
-0
c1804528.lua
c1804528.lua
+1
-1
c64207696.lua
c64207696.lua
+3
-1
No files found.
c17092736.lua
View file @
28cfc2d4
...
@@ -20,6 +20,7 @@ function c17092736.cfop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,6 +20,7 @@ function c17092736.cfop(e,tp,eg,ep,ev,re,r,rp)
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
t
[
i
]
=
i
t
[
i
]
=
i
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
17092736
,
0
))
local
ac
=
Duel
.
AnnounceNumber
(
p
,
table.unpack
(
t
))
local
ac
=
Duel
.
AnnounceNumber
(
p
,
table.unpack
(
t
))
local
g
=
Duel
.
GetDecktopGroup
(
1
-
p
,
ac
)
local
g
=
Duel
.
GetDecktopGroup
(
1
-
p
,
ac
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
c1804528.lua
View file @
28cfc2d4
...
@@ -17,7 +17,7 @@ function c1804528.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c1804528.descon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c1804528
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1804528
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
g1
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
g2
=
Duel
.
Get
MatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g2
=
Duel
.
Get
FieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
local
opt
=
0
local
opt
=
0
if
g1
:
GetCount
()
>
0
and
g2
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
and
g2
:
GetCount
()
>
0
then
opt
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
1804528
,
1
),
aux
.
Stringid
(
1804528
,
2
))
opt
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
1804528
,
1
),
aux
.
Stringid
(
1804528
,
2
))
...
...
c64207696.lua
View file @
28cfc2d4
...
@@ -30,7 +30,8 @@ end
...
@@ -30,7 +30,8 @@ end
function
c64207696
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64207696
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
eg
:
GetFirst
()
local
rc
=
eg
:
GetFirst
()
return
rc
:
IsRelateToBattle
()
and
rc
:
IsSetCard
(
0x9f
)
and
rc
:
IsFaceup
()
and
rc
:
IsControler
(
tp
)
return
rc
:
IsRelateToBattle
()
and
rc
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
rc
:
IsFaceup
()
and
rc
:
IsSetCard
(
0x9f
)
and
rc
:
IsControler
(
tp
)
end
end
function
c64207696
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c64207696
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -39,6 +40,7 @@ function c64207696.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -39,6 +40,7 @@ function c64207696.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
1000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
1000
)
end
end
function
c64207696
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64207696
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
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