Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
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
nanahira
ygopro
Commits
e251aa12
Commit
e251aa12
authored
Mar 09, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duel.IsPlayerCanSpecialSummon()
parent
5b6f198f
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
17 deletions
+17
-17
script/c12071500.lua
script/c12071500.lua
+1
-1
script/c1264319.lua
script/c1264319.lua
+1
-1
script/c23299957.lua
script/c23299957.lua
+1
-1
script/c24094653.lua
script/c24094653.lua
+1
-1
script/c33550694.lua
script/c33550694.lua
+1
-1
script/c37630732.lua
script/c37630732.lua
+1
-1
script/c43040603.lua
script/c43040603.lua
+1
-1
script/c43698897.lua
script/c43698897.lua
+1
-1
script/c44394295.lua
script/c44394295.lua
+1
-1
script/c55824220.lua
script/c55824220.lua
+1
-1
script/c58577036.lua
script/c58577036.lua
+1
-1
script/c60226558.lua
script/c60226558.lua
+1
-1
script/c6417578.lua
script/c6417578.lua
+1
-1
script/c65331686.lua
script/c65331686.lua
+1
-1
script/c71422989.lua
script/c71422989.lua
+1
-1
script/c73360025.lua
script/c73360025.lua
+1
-1
script/c94820406.lua
script/c94820406.lua
+1
-1
No files found.
script/c12071500.lua
View file @
e251aa12
...
...
@@ -68,7 +68,7 @@ function c12071500.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
,
SUMMON_TYPE_FUSION
+
0x10
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c1264319.lua
View file @
e251aa12
...
...
@@ -75,7 +75,7 @@ function c1264319.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c23299957.lua
View file @
e251aa12
...
...
@@ -82,7 +82,7 @@ function c23299957.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e3
,
true
)
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c24094653.lua
View file @
e251aa12
...
...
@@ -65,7 +65,7 @@ function c24094653.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c33550694.lua
View file @
e251aa12
...
...
@@ -76,7 +76,7 @@ function c33550694.operation(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c37630732.lua
View file @
e251aa12
...
...
@@ -79,7 +79,7 @@ function c37630732.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetOperation
(
c37630732
.
damop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c43040603.lua
View file @
e251aa12
...
...
@@ -23,7 +23,7 @@ function c43040603.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
c43040603
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
not
Duel
.
IsPlayerCan
SpecialSummonCount
(
tp
,
1
)
or
not
Duel
.
IsPlayerCan
DiscardDeck
(
tp
,
1
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSummonableCard
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
dcount
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
local
seq
=-
1
...
...
script/c43698897.lua
View file @
e251aa12
...
...
@@ -93,7 +93,7 @@ function c43698897.spop(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c44394295.lua
View file @
e251aa12
...
...
@@ -80,7 +80,7 @@ function c44394295.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c55824220.lua
View file @
e251aa12
...
...
@@ -65,7 +65,7 @@ function c55824220.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c58577036.lua
View file @
e251aa12
...
...
@@ -17,7 +17,7 @@ function c58577036.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
c58577036
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
not
Duel
.
IsPlayerCan
SpecialSummonCount
(
tp
,
1
)
or
not
Duel
.
IsPlayerCan
DiscardDeck
(
tp
,
1
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
567
)
local
lv
=
Duel
.
AnnounceNumber
(
1
-
tp
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSummonableCard
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
...
script/c60226558.lua
View file @
e251aa12
...
...
@@ -119,7 +119,7 @@ function c60226558.spop(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c6417578.lua
View file @
e251aa12
...
...
@@ -67,7 +67,7 @@ function c6417578.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c65331686.lua
View file @
e251aa12
...
...
@@ -105,7 +105,7 @@ function c65331686.operation(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c71422989.lua
View file @
e251aa12
...
...
@@ -83,7 +83,7 @@ function c71422989.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c73360025.lua
View file @
e251aa12
...
...
@@ -111,7 +111,7 @@ function c73360025.spop(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat
)
end
tc
:
CompleteProcedure
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
script/c94820406.lua
View file @
e251aa12
...
...
@@ -71,7 +71,7 @@ function c94820406.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
c94820406
.
efilter
)
tc
:
RegisterEffect
(
e1
)
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
1
)
then
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
...
...
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