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
八宫一月
ygopro-scripts
Commits
ed356397
Commit
ed356397
authored
Jul 25, 2019
by
nanahira
Committed by
DailyShana
Jul 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix announce filter field forcopy effect (#1208)
* fix announce filter field forcopy effect * more
parent
a8c1ecfd
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
29 additions
and
29 deletions
+29
-29
c10406322.lua
c10406322.lua
+2
-2
c10809984.lua
c10809984.lua
+2
-2
c15800838.lua
c15800838.lua
+2
-2
c18486927.lua
c18486927.lua
+2
-2
c18631392.lua
c18631392.lua
+4
-4
c22796548.lua
c22796548.lua
+2
-2
c24413299.lua
c24413299.lua
+2
-2
c28776350.lua
c28776350.lua
+2
-2
c33423043.lua
c33423043.lua
+2
-2
c39238953.lua
c39238953.lua
+2
-2
c39913299.lua
c39913299.lua
+2
-2
c65681983.lua
c65681983.lua
+1
-1
c72403299.lua
c72403299.lua
+2
-2
c78053598.lua
c78053598.lua
+2
-2
No files found.
c10406322.lua
View file @
ed356397
...
@@ -31,8 +31,8 @@ end
...
@@ -31,8 +31,8 @@ end
function
c10406322
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10406322
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c10406322
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c10406322
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c10809984.lua
View file @
ed356397
...
@@ -17,8 +17,8 @@ end
...
@@ -17,8 +17,8 @@ end
function
c10809984
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10809984
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c10809984
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c10809984
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c15800838.lua
View file @
ed356397
...
@@ -14,8 +14,8 @@ function c15800838.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -14,8 +14,8 @@ function c15800838.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c15800838
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c15800838
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c18486927.lua
View file @
ed356397
...
@@ -62,8 +62,8 @@ function c18486927.nametg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,8 +62,8 @@ function c18486927.nametg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
code
=
e
:
GetHandler
():
GetCode
()
local
code
=
e
:
GetHandler
():
GetCode
()
--c:IsSetCard(0x51) and not c:IsCode(code)
--c:IsSetCard(0x51) and not c:IsCode(code)
c18486927
.
announce_filter
=
{
0x51
,
OPCODE_ISSETCARD
,
code
,
OPCODE_ISCODE
,
OPCODE_NOT
,
OPCODE_AND
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
0x51
,
OPCODE_ISSETCARD
,
code
,
OPCODE_ISCODE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c18486927
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c18631392.lua
View file @
ed356397
...
@@ -51,13 +51,13 @@ function c18631392.anctg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,13 +51,13 @@ function c18631392.anctg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
3
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
3
)
return
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
return
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
end
end
c18631392
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac1
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c18631392
.
announce_filter
))
local
ac1
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac2
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c18631392
.
announce_filter
))
local
ac2
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac3
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c18631392
.
announce_filter
))
local
ac3
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
e
:
SetOperation
(
c18631392
.
retop
(
ac1
,
ac2
,
ac3
))
e
:
SetOperation
(
c18631392
.
retop
(
ac1
,
ac2
,
ac3
))
end
end
function
c18631392
.
hfilter
(
c
,
code1
,
code2
,
code3
)
function
c18631392
.
hfilter
(
c
,
code1
,
code2
,
code3
)
...
...
c22796548.lua
View file @
ed356397
...
@@ -25,8 +25,8 @@ function c22796548.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -25,8 +25,8 @@ function c22796548.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c22796548
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c22796548
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c24413299.lua
View file @
ed356397
...
@@ -19,8 +19,8 @@ function c24413299.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,8 +19,8 @@ function c24413299.target(e,tp,eg,ep,ev,re,r,rp,chk)
and
(
Duel
.
IsExistingMatchingCard
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
(
Duel
.
IsExistingMatchingCard
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
c24413299
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
))
end
or
Duel
.
IsExistingMatchingCard
(
c24413299
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
))
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c24413299
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c24413299
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c28776350.lua
View file @
ed356397
...
@@ -73,8 +73,8 @@ function c28776350.actg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -73,8 +73,8 @@ function c28776350.actg(e,tp,eg,ep,ev,re,r,rp,chk)
return
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
return
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c28776350
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c28776350
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c33423043.lua
View file @
ed356397
...
@@ -13,8 +13,8 @@ function c33423043.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -13,8 +13,8 @@ function c33423043.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c33423043
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c33423043
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c39238953.lua
View file @
ed356397
...
@@ -18,8 +18,8 @@ function c39238953.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -18,8 +18,8 @@ function c39238953.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
)
or
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
end
or
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c39238953
.
announce_filter
=
{
TYPE_MONSTER
,
OPCODE_ISTYPE
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
OPCODE_AND
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_MONSTER
,
OPCODE_ISTYPE
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c39238953
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c39913299.lua
View file @
ed356397
...
@@ -17,8 +17,8 @@ function c39913299.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -17,8 +17,8 @@ function c39913299.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c39913299
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c39913299
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c65681983.lua
View file @
ed356397
...
@@ -35,7 +35,7 @@ function c65681983.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -35,7 +35,7 @@ function c65681983.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
afilter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
afilter
))
c65681983
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
c72403299.lua
View file @
ed356397
...
@@ -14,8 +14,8 @@ end
...
@@ -14,8 +14,8 @@ end
function
c72403299
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72403299
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c72403299
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c72403299
.
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
...
...
c78053598.lua
View file @
ed356397
...
@@ -12,8 +12,8 @@ end
...
@@ -12,8 +12,8 @@ end
function
c78053598
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c78053598
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
c78053598
.
announce_filter
=
{
TYPE_MONSTER
,
OPCODE_ISTYPE
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
OPCODE_AND
}
getmetatable
(
e
:
GetHandler
())
.
announce_filter
=
{
TYPE_MONSTER
,
OPCODE_ISTYPE
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
OPCODE_AND
}
local
code
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
c78053598
.
announce_filter
))
local
code
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
())
.
announce_filter
))
Duel
.
SetTargetParam
(
code
)
Duel
.
SetTargetParam
(
code
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
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