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
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
Reinen
ygopro-scripts
Commits
8b2019d3
Commit
8b2019d3
authored
Aug 01, 2017
by
nekrozar
Committed by
mercury233
Aug 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#907)
parent
b98b035d
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
13 deletions
+15
-13
c10406322.lua
c10406322.lua
+1
-1
c10809984.lua
c10809984.lua
+1
-1
c15800838.lua
c15800838.lua
+1
-1
c22796548.lua
c22796548.lua
+5
-3
c24413299.lua
c24413299.lua
+1
-1
c28776350.lua
c28776350.lua
+1
-1
c33423043.lua
c33423043.lua
+1
-1
c39238953.lua
c39238953.lua
+1
-1
c39913299.lua
c39913299.lua
+1
-1
c72403299.lua
c72403299.lua
+1
-1
c78053598.lua
c78053598.lua
+1
-1
No files found.
c10406322.lua
View file @
8b2019d3
...
...
@@ -34,7 +34,7 @@ function c10406322.target(e,tp,eg,ep,ev,re,r,rp,chk)
c10406322
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c10406322
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c10406322
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
then
return
end
...
...
c10809984.lua
View file @
8b2019d3
...
...
@@ -20,7 +20,7 @@ function c10809984.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
c10809984
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c10809984
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c10809984
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
...
...
c15800838.lua
View file @
8b2019d3
...
...
@@ -17,7 +17,7 @@ function c15800838.target(e,tp,eg,ep,ev,re,r,rp,chk)
c15800838
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c15800838
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c15800838
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
...
...
c22796548.lua
View file @
8b2019d3
--デーモンの宣告
function
c22796548
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -23,10 +24,11 @@ end
function
c22796548
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
local
ac
=
Duel
.
AnnounceCard
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
c22796548
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c22796548
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c22796548
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
then
return
end
...
...
c24413299.lua
View file @
8b2019d3
...
...
@@ -22,7 +22,7 @@ function c24413299.target(e,tp,eg,ep,ev,re,r,rp,chk)
c24413299
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c24413299
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c24413299
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
...
...
c28776350.lua
View file @
8b2019d3
...
...
@@ -101,7 +101,7 @@ function c28776350.actg(e,tp,eg,ep,ev,re,r,rp,chk)
c28776350
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c28776350
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c28776350
.
thfilter
(
c
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
...
...
c33423043.lua
View file @
8b2019d3
...
...
@@ -16,7 +16,7 @@ function c33423043.target(e,tp,eg,ep,ev,re,r,rp,chk)
c33423043
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c33423043
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c33423043
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
...
...
c39238953.lua
View file @
8b2019d3
...
...
@@ -21,7 +21,7 @@ function c39238953.target(e,tp,eg,ep,ev,re,r,rp,chk)
c39238953
.
announce_filter
=
{
TYPE_MONSTER
,
OPCODE_ISTYPE
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c39238953
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c39238953
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
...
...
c39913299.lua
View file @
8b2019d3
...
...
@@ -20,7 +20,7 @@ function c39913299.target(e,tp,eg,ep,ev,re,r,rp,chk)
c39913299
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c39913299
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c39913299
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
...
...
c72403299.lua
View file @
8b2019d3
...
...
@@ -17,7 +17,7 @@ function c72403299.target(e,tp,eg,ep,ev,re,r,rp,chk)
c72403299
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c72403299
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
_FILTER
)
end
function
c72403299
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
0
then
return
end
...
...
c78053598.lua
View file @
8b2019d3
...
...
@@ -15,7 +15,7 @@ function c78053598.target(e,tp,eg,ep,ev,re,r,rp,chk)
c78053598
.
announce_filter
=
{
TYPE_MONSTER
,
OPCODE_ISTYPE
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
OPCODE_AND
}
local
code
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c78053598
.
announce_filter
))
Duel
.
SetTargetParam
(
code
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
TYPE_MONS
TER
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD_FIL
TER
)
end
function
c78053598
.
filter
(
c
,
code
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
...
...
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