Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
aff8843d
Commit
aff8843d
authored
Apr 12, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1255 from nekrozar/patch-1
fix Monster Gate,Reasoning
parents
29c97fee
9c2b809c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
script/c43040603.lua
script/c43040603.lua
+2
-5
script/c58577036.lua
script/c58577036.lua
+2
-5
No files found.
script/c43040603.lua
View file @
aff8843d
...
...
@@ -9,17 +9,14 @@ function c43040603.initial_effect(c)
e1
:
SetOperation
(
c43040603
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c43040603
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSummonableCard
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c43040603
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
aux
.
TRUE
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c43040603
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c43040603
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSummonableCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
c43040603
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c58577036.lua
View file @
aff8843d
...
...
@@ -8,12 +8,9 @@ function c58577036.initial_effect(c)
e1
:
SetOperation
(
c58577036
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c58577036
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSummonableCard
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c58577036
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c58577036
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSummonableCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
c58577036
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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