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
2bfd0c7f
Commit
2bfd0c7f
authored
Oct 07, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update constants
parent
4cdcd2b8
Changes
76
Hide whitespace changes
Inline
Side-by-side
Showing
76 changed files
with
96 additions
and
89 deletions
+96
-89
c1006081.lua
c1006081.lua
+1
-1
c10352095.lua
c10352095.lua
+1
-1
c10406322.lua
c10406322.lua
+1
-1
c10809984.lua
c10809984.lua
+1
-1
c1525329.lua
c1525329.lua
+1
-1
c15595052.lua
c15595052.lua
+1
-1
c15800838.lua
c15800838.lua
+1
-1
c16725505.lua
c16725505.lua
+1
-1
c18631392.lua
c18631392.lua
+3
-3
c19462747.lua
c19462747.lua
+1
-1
c19808608.lua
c19808608.lua
+1
-1
c20127343.lua
c20127343.lua
+1
-1
c20579538.lua
c20579538.lua
+1
-1
c22198672.lua
c22198672.lua
+2
-2
c22657402.lua
c22657402.lua
+1
-1
c22796548.lua
c22796548.lua
+1
-1
c24413299.lua
c24413299.lua
+1
-1
c25484449.lua
c25484449.lua
+1
-1
c26099457.lua
c26099457.lua
+1
-1
c26495087.lua
c26495087.lua
+1
-1
c27340877.lua
c27340877.lua
+1
-1
c27769400.lua
c27769400.lua
+1
-1
c28776350.lua
c28776350.lua
+1
-1
c29417188.lua
c29417188.lua
+1
-1
c296499.lua
c296499.lua
+1
-1
c30334522.lua
c30334522.lua
+2
-2
c30494314.lua
c30494314.lua
+1
-1
c31826057.lua
c31826057.lua
+2
-2
c32588805.lua
c32588805.lua
+1
-1
c33423043.lua
c33423043.lua
+1
-1
c3752422.lua
c3752422.lua
+1
-1
c3784434.lua
c3784434.lua
+1
-1
c38723936.lua
c38723936.lua
+1
-1
c39188539.lua
c39188539.lua
+1
-1
c39238953.lua
c39238953.lua
+5
-5
c39913299.lua
c39913299.lua
+1
-1
c40410110.lua
c40410110.lua
+1
-1
c40607210.lua
c40607210.lua
+1
-1
c40817915.lua
c40817915.lua
+1
-1
c42155488.lua
c42155488.lua
+1
-1
c42291297.lua
c42291297.lua
+1
-1
c43359262.lua
c43359262.lua
+1
-1
c43711255.lua
c43711255.lua
+1
-1
c47766694.lua
c47766694.lua
+1
-1
c48422921.lua
c48422921.lua
+1
-1
c50074392.lua
c50074392.lua
+1
-1
c50078320.lua
c50078320.lua
+1
-1
c50277973.lua
c50277973.lua
+2
-2
c56769674.lua
c56769674.lua
+1
-1
c5795980.lua
c5795980.lua
+1
-1
c58577036.lua
c58577036.lua
+1
-1
c59644958.lua
c59644958.lua
+1
-1
c60226558.lua
c60226558.lua
+1
-1
c60866277.lua
c60866277.lua
+2
-2
c63394872.lua
c63394872.lua
+1
-1
c64689404.lua
c64689404.lua
+1
-1
c65743242.lua
c65743242.lua
+1
-1
c67556500.lua
c67556500.lua
+1
-1
c69176131.lua
c69176131.lua
+1
-1
c69296555.lua
c69296555.lua
+1
-1
c70456282.lua
c70456282.lua
+1
-1
c72403299.lua
c72403299.lua
+1
-1
c7405310.lua
c7405310.lua
+1
-1
c74701381.lua
c74701381.lua
+1
-1
c76573247.lua
c76573247.lua
+1
-1
c78053598.lua
c78053598.lua
+1
-1
c8323633.lua
c8323633.lua
+1
-1
c84677654.lua
c84677654.lua
+1
-1
c85839825.lua
c85839825.lua
+1
-1
c87772572.lua
c87772572.lua
+2
-2
c88581108.lua
c88581108.lua
+1
-1
c89801755.lua
c89801755.lua
+2
-2
c94331452.lua
c94331452.lua
+2
-2
c9780364.lua
c9780364.lua
+1
-1
c98045062.lua
c98045062.lua
+1
-1
constant.lua
constant.lua
+7
-0
No files found.
c1006081.lua
View file @
2bfd0c7f
...
...
@@ -23,7 +23,7 @@ function c1006081.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c1006081
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
op
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
550
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
if
g
:
GetFirst
():
GetLevel
()
==
1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
1006081
,
1
))
else
...
...
c10352095.lua
View file @
2bfd0c7f
...
...
@@ -29,7 +29,7 @@ function c10352095.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
GetLabelObject
():
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
...
...
c10406322.lua
View file @
2bfd0c7f
...
...
@@ -30,7 +30,7 @@ function c10406322.initial_effect(c)
end
function
c10406322
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c10809984.lua
View file @
2bfd0c7f
...
...
@@ -16,7 +16,7 @@ function c10809984.drcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c10809984
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c1525329.lua
View file @
2bfd0c7f
...
...
@@ -12,7 +12,7 @@ function c1525329.initial_effect(c)
end
function
c1525329
.
armtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
rc
)
end
...
...
c15595052.lua
View file @
2bfd0c7f
...
...
@@ -18,7 +18,7 @@ function c15595052.ancop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
ct
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
15595052
)
if
ct
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
ct
,
0xffff
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
att
)
--destroy
...
...
c15800838.lua
View file @
2bfd0c7f
...
...
@@ -13,7 +13,7 @@ end
function
c15800838
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c16725505.lua
View file @
2bfd0c7f
...
...
@@ -29,7 +29,7 @@ function c16725505.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
lv
~=
i
then
t
[
p
]
=
i
p
=
p
+
1
end
end
t
[
p
]
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
e
:
SetLabel
(
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
)))
end
function
c16725505
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c18631392.lua
View file @
2bfd0c7f
...
...
@@ -52,11 +52,11 @@ function c18631392.anctg(e,tp,eg,ep,ev,re,r,rp,chk)
return
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
end
c18631392
.
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac1
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c18631392
.
announce_filter
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac2
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c18631392
.
announce_filter
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac3
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c18631392
.
announce_filter
))
e
:
SetOperation
(
c18631392
.
retop
(
ac1
,
ac2
,
ac3
))
end
...
...
c19462747.lua
View file @
2bfd0c7f
...
...
@@ -41,7 +41,7 @@ function c19462747.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c19462747
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
op
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
550
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
if
g
:
GetFirst
():
GetLevel
()
==
1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
19462747
,
1
))
else
...
...
c19808608.lua
View file @
2bfd0c7f
...
...
@@ -26,7 +26,7 @@ function c19808608.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
lv
~=
i
then
t
[
p
]
=
i
p
=
p
+
1
end
end
t
[
p
]
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
e
:
SetLabel
(
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
)))
end
function
c19808608
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c20127343.lua
View file @
2bfd0c7f
...
...
@@ -16,7 +16,7 @@ function c20127343.costg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
SetLabel
(
att
)
end
...
...
c20579538.lua
View file @
2bfd0c7f
...
...
@@ -59,7 +59,7 @@ function c20579538.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
t
=
{}
local
i
=
1
for
i
=
1
,
8
do
t
[
i
]
=
i
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
e
:
SetLabel
(
lv
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
c22198672.lua
View file @
2bfd0c7f
...
...
@@ -47,11 +47,11 @@ function c22198672.seqop(e,tp,eg,ep,ev,re,r,rp)
local
s
=
0
if
tc
:
IsControler
(
tp
)
then
local
flag
=
bit
.
bxor
(
zone
,
0xff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
571
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
flag
)
else
local
flag
=
bit
.
bxor
(
zone
,
0xff
)
*
0x10000
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
571
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
0
,
LOCATION_MZONE
,
flag
)
/
0x10000
end
local
nseq
=
0
...
...
c22657402.lua
View file @
2bfd0c7f
...
...
@@ -50,7 +50,7 @@ function c22657402.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
for
i
=
5
,
8
do
if
lv1
~=
i
and
lv2
~=
i
then
t
[
p
]
=
i
p
=
p
+
1
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
e
:
SetLabel
(
lv
)
end
...
...
c22796548.lua
View file @
2bfd0c7f
...
...
@@ -24,7 +24,7 @@ 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
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c24413299.lua
View file @
2bfd0c7f
...
...
@@ -18,7 +18,7 @@ function c24413299.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
(
Duel
.
IsExistingMatchingCard
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
c24413299
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
))
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c25484449.lua
View file @
2bfd0c7f
...
...
@@ -42,7 +42,7 @@ function c25484449.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
c25484449
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
550
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
25484449
,
2
),
aux
.
Stringid
(
25484449
,
3
))
e
:
SetLabel
(
op
)
end
...
...
c26099457.lua
View file @
2bfd0c7f
...
...
@@ -18,7 +18,7 @@ function c26099457.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c26099457
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c26099457
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
1
,
2
,
3
)
e
:
SetLabel
(
lv
)
end
...
...
c26495087.lua
View file @
2bfd0c7f
...
...
@@ -16,7 +16,7 @@ function c26495087.tgcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c26495087
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPTION
)
local
op
=
Duel
.
SelectOption
(
tp
,
70
,
71
,
72
)
e
:
SetLabel
(
op
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_DECK
)
...
...
c27340877.lua
View file @
2bfd0c7f
...
...
@@ -18,7 +18,7 @@ function c27340877.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c27340877
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWN
)
Duel
.
SelectTarget
(
tp
,
c27340877
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
1
-
tp
,
2
,
0xffffff
)
e
:
SetLabel
(
rc
)
end
...
...
c27769400.lua
View file @
2bfd0c7f
...
...
@@ -73,7 +73,7 @@ function c27769400.desfilter(c,att)
end
function
c27769400
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
)
Duel
.
SetTargetParam
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
...
...
c28776350.lua
View file @
2bfd0c7f
...
...
@@ -97,7 +97,7 @@ function c28776350.actg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
return
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c29417188.lua
View file @
2bfd0c7f
...
...
@@ -12,7 +12,7 @@ function c29417188.initial_effect(c)
end
function
c29417188
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac
=
Duel
.
AnnounceCard
(
tp
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
...
...
c296499.lua
View file @
2bfd0c7f
...
...
@@ -28,7 +28,7 @@ function c296499.initial_effect(c)
end
function
c296499
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_RACE
,
rc
)
...
...
c30334522.lua
View file @
2bfd0c7f
...
...
@@ -14,10 +14,10 @@ function c30334522.initial_effect(c)
end
function
c30334522
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
~=
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
rc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
at
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
Duel
.
SetTargetParam
(
at
)
end
...
...
c30494314.lua
View file @
2bfd0c7f
...
...
@@ -25,7 +25,7 @@ function c30494314.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SelectTarget
(
tp
,
c30494314
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
c30494314
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DEATTACHFROM
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
,
1
,
REASON_EFFECT
)
if
sg
:
GetCount
()
==
0
then
return
end
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
...
...
c31826057.lua
View file @
2bfd0c7f
...
...
@@ -32,7 +32,7 @@ function c31826057.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
-
g
:
GetFirst
():
GetRace
())
e
:
SetLabel
(
rc
)
end
...
...
@@ -41,7 +41,7 @@ function c31826057.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
-
g
:
GetFirst
():
GetRace
())
e
:
SetLabel
(
rc
)
end
...
...
c32588805.lua
View file @
2bfd0c7f
...
...
@@ -43,7 +43,7 @@ function c32588805.setfilter2(c,typ)
end
function
c32588805
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
local
op
=
Duel
.
SelectOption
(
1
-
tp
,
71
,
72
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
nil
...
...
c33423043.lua
View file @
2bfd0c7f
...
...
@@ -12,7 +12,7 @@ end
function
c33423043
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c3752422.lua
View file @
2bfd0c7f
...
...
@@ -55,7 +55,7 @@ function c3752422.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
for
i
=
1
,
p
do
t
[
i
]
=
i
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
e
:
SetLabel
(
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
)))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c3752422
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
)
...
...
c3784434.lua
View file @
2bfd0c7f
...
...
@@ -36,7 +36,7 @@ function c3784434.seqop(e,tp,eg,ep,ev,re,r,rp)
if
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
-
1
)
end
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
+
1
)
end
flag
=
bit
.
bxor
(
flag
,
0xff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
571
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
flag
)
local
nseq
=
0
if
s
==
1
then
nseq
=
0
...
...
c38723936.lua
View file @
2bfd0c7f
...
...
@@ -26,7 +26,7 @@ function c38723936.activate(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
GetSequence
()
<
last
:
GetSequence
()
then
last
=
tc
end
tc
=
g
:
GetNext
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_CODE
)
local
ac
=
Duel
.
AnnounceCard
(
1
-
tp
,
TYPE_MONSTER
)
if
ac
~=
last
:
GetCode
()
then
Duel
.
SpecialSummon
(
last
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
c39188539.lua
View file @
2bfd0c7f
...
...
@@ -44,7 +44,7 @@ function c39188539.seqop(e,tp,eg,ep,ev,re,r,rp)
if
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
-
1
)
end
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
+
1
)
end
flag
=
bit
.
bxor
(
flag
,
0xff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
571
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
flag
)
local
nseq
=
0
if
s
==
1
then
nseq
=
0
...
...
c39238953.lua
View file @
2bfd0c7f
...
...
@@ -17,7 +17,7 @@ end
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
)
or
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
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
}
local
ac
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c39238953
.
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
...
...
@@ -28,7 +28,7 @@ function c39238953.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_DECK
)
if
g
:
GetCount
()
<
1
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
526
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_CONFIRM
)
local
sg
=
g
:
FilterSelect
(
1
-
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
ac
)
local
tc
=
sg
:
GetFirst
()
if
tc
then
...
...
@@ -38,13 +38,13 @@ function c39238953.activate(e,tp,eg,ep,ev,re,r,rp)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
,
tp
)
local
sel
=
0
if
b1
and
b2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
39238953
,
0
),
aux
.
Stringid
(
39238953
,
1
))
+
1
elseif
b1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
39238953
,
0
))
+
1
elseif
b2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
39238953
,
1
))
+
2
end
if
sel
==
1
then
...
...
c39913299.lua
View file @
2bfd0c7f
...
...
@@ -16,7 +16,7 @@ end
function
c39913299
.
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
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c40410110.lua
View file @
2bfd0c7f
...
...
@@ -12,7 +12,7 @@ end
function
c40410110
.
attop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
catt
=
c
:
GetAttribute
()
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
-
catt
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c40607210.lua
View file @
2bfd0c7f
...
...
@@ -49,7 +49,7 @@ function c40607210.operation(e,tp,eg,ep,ev,re,r,rp)
end
function
c40607210
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPTION
)
local
op
=
Duel
.
SelectOption
(
tp
,
70
,
71
,
72
)
e
:
SetLabel
(
op
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_DECK
)
...
...
c40817915.lua
View file @
2bfd0c7f
...
...
@@ -29,7 +29,7 @@ function c40817915.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
c40817915
.
ofilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c40817915
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DEATTACHFROM
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c40817915
.
ofilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c42155488.lua
View file @
2bfd0c7f
...
...
@@ -40,7 +40,7 @@ function c42155488.ntop(e,tp,eg,ep,ev,re,r,rp,c)
end
function
c42155488
.
dectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
rc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c42291297.lua
View file @
2bfd0c7f
...
...
@@ -62,7 +62,7 @@ function c42291297.eptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
op
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
550
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
if
aux
.
disfilter1
(
c
)
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
42291297
,
1
),
aux
.
Stringid
(
42291297
,
2
))
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
42291297
,
1
))
end
if
op
==
0
then
...
...
c43359262.lua
View file @
2bfd0c7f
...
...
@@ -17,7 +17,7 @@ end
function
c43359262
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c43359262
.
filter
(
chkc
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c43359262
.
filter
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
515
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWN
)
Duel
.
SelectTarget
(
tp
,
c43359262
.
filter
,
tp
,
0
,
LOCATION_SZONE
,
1
,
1
,
nil
,
e
:
GetHandler
())
end
function
c43359262
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c43711255.lua
View file @
2bfd0c7f
...
...
@@ -23,7 +23,7 @@ function c43711255.bantg(e,c)
end
function
c43711255
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac
=
Duel
.
AnnounceCard
(
tp
)
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD
)
...
...
c47766694.lua
View file @
2bfd0c7f
...
...
@@ -38,7 +38,7 @@ function c47766694.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSSetable
,
dp
,
LOCATION_HAND
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
dp
,
aux
.
Stringid
(
47766694
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
510
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
dp
,
1
,
1
,
nil
)
Duel
.
SSet
(
dp
,
sg
:
GetFirst
())
end
...
...
c48422921.lua
View file @
2bfd0c7f
...
...
@@ -21,7 +21,7 @@ function c48422921.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
val
=
0xff
local
reg
=
g
:
GetFirst
():
GetFlagEffectLabel
(
48422921
)
if
reg
then
val
=
val
-
reg
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
val
)
e
:
SetLabel
(
att
)
end
...
...
c50074392.lua
View file @
2bfd0c7f
...
...
@@ -37,7 +37,7 @@ function c50074392.filter(c)
end
function
c50074392
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50074392
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
3
,
4
,
5
)
e
:
SetLabel
(
lv
)
end
...
...
c50078320.lua
View file @
2bfd0c7f
...
...
@@ -33,7 +33,7 @@ end
function
c50078320
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex
,
cg
,
ct
,
cp
,
cv
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_ANNOUNCE
)
local
ac
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
if
bit
.
band
(
cv
,
ANNOUNCE_CARD
)
~=
0
then
ac
=
Duel
.
AnnounceCard
(
tp
,
cv
)
else
...
...
c50277973.lua
View file @
2bfd0c7f
...
...
@@ -28,7 +28,7 @@ function c50277973.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
rac
)
return
rac
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
crac
=
Duel
.
AnnounceRace
(
tp
,
1
,
e
:
GetLabel
())
local
att
=
0
local
catt
=
1
...
...
@@ -38,7 +38,7 @@ function c50277973.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
catt
=
catt
*
2
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
catt
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
att
)
e
:
SetLabel
(
crac
)
Duel
.
SetTargetParam
(
catt
)
...
...
c56769674.lua
View file @
2bfd0c7f
...
...
@@ -19,7 +19,7 @@ function c56769674.initial_effect(c)
end
function
c56769674
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
e
:
GetLabelObject
():
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
...
...
c5795980.lua
View file @
2bfd0c7f
...
...
@@ -96,7 +96,7 @@ function c5795980.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c5795980
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
e
:
SetLabel
(
rc
)
end
...
...
c58577036.lua
View file @
2bfd0c7f
...
...
@@ -15,7 +15,7 @@ function c58577036.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c58577036
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINGMSG_LVRANK
)
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
)
local
dcount
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
...
...
c59644958.lua
View file @
2bfd0c7f
...
...
@@ -19,7 +19,7 @@ function c59644958.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
end
function
c59644958
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DEATTACHFROM
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
,
1
,
REASON_EFFECT
)
if
sg
:
GetCount
()
==
0
then
return
end
Duel
.
HintSelection
(
sg
)
...
...
c60226558.lua
View file @
2bfd0c7f
...
...
@@ -37,7 +37,7 @@ function c60226558.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c60226558
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c60226558
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
SetLabel
(
att
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
c60866277.lua
View file @
2bfd0c7f
...
...
@@ -37,9 +37,9 @@ function c60866277.operation(e,tp,eg,ep,ev,re,r,rp)
tc
=
sg
:
GetNext
()
end
if
bit
.
band
(
att
,
att
-
1
)
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att1
=
Duel
.
AnnounceAttribute
(
tp
,
2
,
att
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATTRIBUTE
)
local
att2
=
Duel
.
AnnounceAttribute
(
1
-
tp
,
1
,
att1
)
local
g
=
Duel
.
GetMatchingGroup
(
c60866277
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
att2
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
...
...
c63394872.lua
View file @
2bfd0c7f
...
...
@@ -40,7 +40,7 @@ function c63394872.seqop(e,tp,eg,ep,ev,re,r,rp)
if
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
-
1
)
end
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
+
1
)
end
flag
=
bit
.
bxor
(
flag
,
0xff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
571
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
flag
)
local
nseq
=
0
if
s
==
1
then
nseq
=
0
...
...
c64689404.lua
View file @
2bfd0c7f
...
...
@@ -37,7 +37,7 @@ function c64689404.ractg(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetLabelObject
():
SetLabel
(
0
)
end
local
prc
=
e
:
GetLabelObject
():
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
-
prc
)
e
:
SetLabel
(
rc
)
end
...
...
c65743242.lua
View file @
2bfd0c7f
...
...
@@ -35,7 +35,7 @@ function c65743242.activate(e,tp,eg,ep,ev,re,r,rp)
return
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
549
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTACKTARGET
)
local
g
=
ag
:
Select
(
tp
,
1
,
1
,
at
)
local
tc
=
g
:
GetFirst
()
if
tc
then
...
...
c67556500.lua
View file @
2bfd0c7f
...
...
@@ -20,7 +20,7 @@ function c67556500.lvcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c67556500
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
1
,
2
,
3
)
e
:
SetLabel
(
lv
)
end
...
...
c69176131.lua
View file @
2bfd0c7f
...
...
@@ -12,7 +12,7 @@ function c69176131.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
end
function
c69176131
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DEATTACHFROM
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
,
1
,
REASON_EFFECT
)
if
sg
:
GetCount
()
==
0
then
return
end
Duel
.
HintSelection
(
sg
)
...
...
c69296555.lua
View file @
2bfd0c7f
...
...
@@ -18,7 +18,7 @@ function c69296555.initial_effect(c)
end
function
c69296555
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
GetLabelObject
():
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_RACE
,
rc
)
...
...
c70456282.lua
View file @
2bfd0c7f
...
...
@@ -57,7 +57,7 @@ function c70456282.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
lv
~=
i
then
t
[
p
]
=
i
p
=
p
+
1
end
end
t
[
p
]
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
e
:
SetLabel
(
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
)))
end
function
c70456282
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c72403299.lua
View file @
2bfd0c7f
...
...
@@ -13,7 +13,7 @@ function c72403299.initial_effect(c)
end
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
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
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
)
...
...
c7405310.lua
View file @
2bfd0c7f
...
...
@@ -11,7 +11,7 @@ end
function
c7405310
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
)
e
:
SetLabel
(
lv
)
end
...
...
c74701381.lua
View file @
2bfd0c7f
...
...
@@ -18,7 +18,7 @@ function c74701381.initial_effect(c)
end
function
c74701381
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
GetLabelObject
():
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_RACE
,
rc
)
...
...
c76573247.lua
View file @
2bfd0c7f
...
...
@@ -33,7 +33,7 @@ function c76573247.seqop(e,tp,eg,ep,ev,re,r,rp)
if
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
-
1
)
end
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
flag
=
bit
.
replace
(
flag
,
0x1
,
seq
+
1
)
end
flag
=
bit
.
bxor
(
flag
,
0xff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
571
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
flag
)
local
nseq
=
0
if
s
==
1
then
nseq
=
0
...
...
c78053598.lua
View file @
2bfd0c7f
...
...
@@ -11,7 +11,7 @@ function c78053598.initial_effect(c)
end
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
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
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
}
local
code
=
Duel
.
AnnounceCardFilter
(
tp
,
table.unpack
(
c78053598
.
announce_filter
))
Duel
.
SetTargetParam
(
code
)
...
...
c8323633.lua
View file @
2bfd0c7f
...
...
@@ -10,7 +10,7 @@ end
function
c8323633
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
564
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
local
ac
=
Duel
.
AnnounceCard
(
tp
,
TYPE_MONSTER
)
c
:
SetHint
(
CHINT_CARD
,
ac
)
--remove
...
...
c84677654.lua
View file @
2bfd0c7f
...
...
@@ -13,7 +13,7 @@ function c84677654.cfilter(c)
end
function
c84677654
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c84677654
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINGMSG_LVRANK
)
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
)
Duel
.
SetTargetParam
(
lv
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COIN
,
nil
,
0
,
PLAYER_ALL
,
2
)
...
...
c85839825.lua
View file @
2bfd0c7f
...
...
@@ -13,7 +13,7 @@ function c85839825.initial_effect(c)
end
function
c85839825
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
1
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DEATTACHFROM
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
1
,
REASON_COST
)
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
...
...
c87772572.lua
View file @
2bfd0c7f
...
...
@@ -28,7 +28,7 @@ function c87772572.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
rac
)
return
rac
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
crac
=
Duel
.
AnnounceRace
(
tp
,
1
,
e
:
GetLabel
())
local
att
=
0
local
catt
=
1
...
...
@@ -38,7 +38,7 @@ function c87772572.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
catt
=
catt
*
2
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
catt
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
att
)
e
:
SetLabel
(
crac
)
Duel
.
SetTargetParam
(
catt
)
...
...
c88581108.lua
View file @
2bfd0c7f
...
...
@@ -30,7 +30,7 @@ function c88581108.atcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c88581108
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
e
:
SetLabel
(
rc
)
end
...
...
c89801755.lua
View file @
2bfd0c7f
...
...
@@ -16,9 +16,9 @@ function c89801755.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c89801755
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
att
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
...
...
c94331452.lua
View file @
2bfd0c7f
...
...
@@ -32,7 +32,7 @@ function c94331452.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
SetLabel
(
rc
)
end
...
...
@@ -41,7 +41,7 @@ function c94331452.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
SetLabel
(
rc
)
end
...
...
c9780364.lua
View file @
2bfd0c7f
...
...
@@ -29,7 +29,7 @@ function c9780364.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
GetMatchingGroup
(
c9780364
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
local
cg
=
Duel
.
GetMatchingGroup
(
c9780364
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
sel
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
550
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
if
cg
:
GetCount
()
==
0
then
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9780364
,
0
))
else
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9780364
,
0
),
aux
.
Stringid
(
9780364
,
1
))
end
...
...
c98045062.lua
View file @
2bfd0c7f
...
...
@@ -48,7 +48,7 @@ function c98045062.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
return
b1
or
b2
end
local
sel
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
550
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
if
b1
and
b2
then
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
98045062
,
0
),
aux
.
Stringid
(
98045062
,
1
))
elseif
b1
then
...
...
constant.lua
View file @
2bfd0c7f
...
...
@@ -687,6 +687,8 @@ HINTMSG_TOFIELD =527 --请选择要放置到场上的卡
HINTMSG_POSCHANGE
=
528
--请选择要改变表示形式的怪兽
HINTMSG_SELF
=
529
--请选择自己的卡
HINTMSG_OPPO
=
530
--请选择对方的卡
HINTMSG_TRIBUTE
=
531
--请选择上级召唤用需要解放的怪兽
HINTMSG_DEATTACHFROM
=
532
--请选择要取除超量素材的怪兽
HINTMSG_ATTACKTARGET
=
549
--请选择攻击的对象
HINTMSG_EFFECT
=
550
--请选择要发动的效果
HINTMSG_TARGET
=
551
--请选择效果的对象
...
...
@@ -694,6 +696,7 @@ HINTMSG_COIN =552 --请选择硬币的正反面
HINTMSG_DICE
=
553
--请选择骰子的结果
HINTMSG_CARDTYPE
=
554
--请选择一个种类
HINTMSG_OPTION
=
555
--请选择一个选项
HINTMSG_RESOLVEEFFECT
=
556
--请选择要发动/处理的效果
HINTMSG_SELECT
=
560
--请选择
HINTMSG_POSITION
=
561
--请选择表示形式
HINTMSG_ATTRIBUTE
=
562
--请选择要宣言的属性
...
...
@@ -701,6 +704,10 @@ HINTMSG_RACE =563 --请选择要宣言的种族
HINTMSG_CODE
=
564
--请宣言一个卡名
HINGMSG_NUMBER
=
565
--请选择一个数字
HINGMSG_LVRANK
=
567
--请宣言一个等级
HINTMSG_RESOLVECARD
=
568
--请选择要处理效果的卡
HINTMSG_ZONE
=
569
--请选择[%ls]的位置
HINTMSG_DISABLEZONE
=
570
--请选择要变成不能使用的卡片区域
HINTMSG_TOZONE
=
571
--请选择要移动到的位置
--Select --请选择
SELECT_HEADS
=
60
--正面
SELECT_TAILS
=
61
--反面
...
...
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