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
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-scripts
Commits
0d0e3038
Commit
0d0e3038
authored
Jan 21, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates for MACR cards
parent
afbac0d8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
14 deletions
+40
-14
c30539496.lua
c30539496.lua
+11
-4
c31531170.lua
c31531170.lua
+7
-2
c82321037.lua
c82321037.lua
+11
-4
c96746083.lua
c96746083.lua
+11
-4
No files found.
c30539496.lua
View file @
0d0e3038
...
@@ -26,15 +26,20 @@ end
...
@@ -26,15 +26,20 @@ end
function
c30539496
.
desfilter
(
c
)
function
c30539496
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_HAND
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_HAND
))
end
end
function
c30539496
.
locfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
end
function
c30539496
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c30539496
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c30539496
.
desfilter
,
tp
,
loc
,
0
,
c
)
local
loc2
=
0
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
88581108
)
then
loc2
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c30539496
.
desfilter
,
tp
,
loc
,
loc2
,
c
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
g
:
GetCount
()
>=
2
and
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_EARTH
)
and
g
:
GetCount
()
>=
2
and
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_EARTH
)
and
(
ft
>
0
or
g
:
IsExists
(
Card
.
IsLocation
,
-
ft
+
1
,
nil
,
LOCATION_MZONE
))
end
and
(
ft
>
0
or
g
:
IsExists
(
c30539496
.
locfilter
,
-
ft
+
1
,
nil
,
tp
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
2
,
tp
,
loc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
2
,
tp
,
loc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
...
@@ -43,12 +48,14 @@ function c30539496.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,12 +48,14 @@ function c30539496.spop(e,tp,eg,ep,ev,re,r,rp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c30539496
.
desfilter
,
tp
,
loc
,
0
,
c
)
local
loc2
=
0
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
88581108
)
then
loc2
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c30539496
.
desfilter
,
tp
,
loc
,
loc2
,
c
)
if
g
:
GetCount
()
<
2
or
not
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_EARTH
)
then
return
end
if
g
:
GetCount
()
<
2
or
not
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_EARTH
)
then
return
end
local
g1
=
nil
local
g2
=
nil
local
g1
=
nil
local
g2
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
if
ft
<
1
then
if
ft
<
1
then
g1
=
g
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
1
,
nil
,
LOCATION_MZONE
)
g1
=
g
:
FilterSelect
(
tp
,
c30539496
.
locfilter
,
1
,
1
,
nil
,
tp
)
else
else
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
end
end
...
...
c31531170.lua
View file @
0d0e3038
...
@@ -22,6 +22,7 @@ function c31531170.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,6 +22,7 @@ function c31531170.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
7
)
local
tc2
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
7
)
if
not
tc1
:
IsRelateToEffect
(
e
)
or
not
tc2
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc1
:
IsRelateToEffect
(
e
)
or
not
tc2
:
IsRelateToEffect
(
e
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
1163
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_BOTH_SIDE
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_BOTH_SIDE
)
...
@@ -31,14 +32,15 @@ function c31531170.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,14 +32,15 @@ function c31531170.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c31531170
.
pendop
)
e1
:
SetOperation
(
c31531170
.
pendop
)
e1
:
SetValue
(
SUMMON_TYPE_PENDULUM
)
e1
:
SetValue
(
SUMMON_TYPE_PENDULUM
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetLabel
(
tc2
:
GetFieldID
())
tc1
:
RegisterEffect
(
e1
)
tc1
:
RegisterEffect
(
e1
)
tc1
:
RegisterFlagEffect
(
31531170
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
tc2
:
GetFieldID
())
tc2
:
RegisterFlagEffect
(
31531170
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
tc1
:
GetFieldID
())
end
end
function
c31531170
.
pendcon
(
e
,
c
,
og
)
function
c31531170
.
pendcon
(
e
,
c
,
og
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
e
:
GetOwnerPlayer
()
local
tp
=
e
:
GetOwnerPlayer
()
local
rpz
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
7
)
local
rpz
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
7
)
if
rpz
==
nil
or
rpz
:
GetFieldID
()
~=
e
:
GetLabel
(
)
then
return
false
end
if
rpz
==
nil
or
rpz
:
GetFieldID
()
~=
c
:
GetFlagEffectLabel
(
31531170
)
then
return
false
end
local
lscale
=
c
:
GetLeftScale
()
local
lscale
=
c
:
GetLeftScale
()
local
rscale
=
rpz
:
GetRightScale
()
local
rscale
=
rpz
:
GetRightScale
()
if
lscale
>
rscale
then
lscale
,
rscale
=
rscale
,
lscale
end
if
lscale
>
rscale
then
lscale
,
rscale
=
rscale
,
lscale
end
...
@@ -52,6 +54,7 @@ function c31531170.pendcon(e,c,og)
...
@@ -52,6 +54,7 @@ function c31531170.pendcon(e,c,og)
end
end
function
c31531170
.
pendop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
sg
,
og
)
function
c31531170
.
pendop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
sg
,
og
)
Duel
.
Hint
(
HINT_CARD
,
0
,
31531170
)
Duel
.
Hint
(
HINT_CARD
,
0
,
31531170
)
local
tp
=
e
:
GetOwnerPlayer
()
local
rpz
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
7
)
local
rpz
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
7
)
local
lscale
=
c
:
GetLeftScale
()
local
lscale
=
c
:
GetLeftScale
()
local
rscale
=
rpz
:
GetRightScale
()
local
rscale
=
rpz
:
GetRightScale
()
...
@@ -69,4 +72,6 @@ function c31531170.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -69,4 +72,6 @@ function c31531170.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
PConditionFilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
ft
,
nil
,
e
,
tp
,
lscale
,
rscale
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
PConditionFilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
ft
,
nil
,
e
,
tp
,
lscale
,
rscale
)
sg
:
Merge
(
g
)
sg
:
Merge
(
g
)
end
end
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
rpz
))
end
end
c82321037.lua
View file @
0d0e3038
...
@@ -24,15 +24,20 @@ end
...
@@ -24,15 +24,20 @@ end
function
c82321037
.
desfilter
(
c
)
function
c82321037
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_HAND
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_HAND
))
end
end
function
c82321037
.
locfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
end
function
c82321037
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c82321037
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c82321037
.
desfilter
,
tp
,
loc
,
0
,
c
)
local
loc2
=
0
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
88581108
)
then
loc2
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c82321037
.
desfilter
,
tp
,
loc
,
loc2
,
c
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
g
:
GetCount
()
>=
2
and
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_WATER
)
and
g
:
GetCount
()
>=
2
and
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_WATER
)
and
(
ft
>
0
or
g
:
IsExists
(
Card
.
IsLocation
,
-
ft
+
1
,
nil
,
LOCATION_MZONE
))
end
and
(
ft
>
0
or
g
:
IsExists
(
c82321037
.
locfilter
,
-
ft
+
1
,
nil
,
tp
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
2
,
tp
,
loc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
2
,
tp
,
loc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
...
@@ -44,12 +49,14 @@ function c82321037.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,12 +49,14 @@ function c82321037.spop(e,tp,eg,ep,ev,re,r,rp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c82321037
.
desfilter
,
tp
,
loc
,
0
,
c
)
local
loc2
=
0
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
88581108
)
then
loc2
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c82321037
.
desfilter
,
tp
,
loc
,
loc2
,
c
)
if
g
:
GetCount
()
<
2
or
not
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_WATER
)
then
return
end
if
g
:
GetCount
()
<
2
or
not
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_WATER
)
then
return
end
local
g1
=
nil
local
g2
=
nil
local
g1
=
nil
local
g2
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
if
ft
<
1
then
if
ft
<
1
then
g1
=
g
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
1
,
nil
,
LOCATION_MZONE
)
g1
=
g
:
FilterSelect
(
tp
,
c82321037
.
locfilter
,
1
,
1
,
nil
,
tp
)
else
else
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
end
end
...
...
c96746083.lua
View file @
0d0e3038
...
@@ -24,15 +24,20 @@ end
...
@@ -24,15 +24,20 @@ end
function
c96746083
.
desfilter
(
c
)
function
c96746083
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_HAND
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_HAND
))
end
end
function
c96746083
.
locfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
end
function
c96746083
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c96746083
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c96746083
.
desfilter
,
tp
,
loc
,
0
,
c
)
local
loc2
=
0
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
88581108
)
then
loc2
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c96746083
.
desfilter
,
tp
,
loc
,
loc2
,
c
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
g
:
GetCount
()
>=
2
and
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_FIRE
)
and
g
:
GetCount
()
>=
2
and
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_FIRE
)
and
(
ft
>
0
or
g
:
IsExists
(
Card
.
IsLocation
,
-
ft
+
1
,
nil
,
LOCATION_MZONE
))
end
and
(
ft
>
0
or
g
:
IsExists
(
c96746083
.
locfilter
,
-
ft
+
1
,
nil
,
tp
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
2
,
tp
,
loc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
2
,
tp
,
loc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
...
@@ -44,12 +49,14 @@ function c96746083.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,12 +49,14 @@ function c96746083.spop(e,tp,eg,ep,ev,re,r,rp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
if
ft
<
0
then
loc
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c96746083
.
desfilter
,
tp
,
loc
,
0
,
c
)
local
loc2
=
0
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
88581108
)
then
loc2
=
LOCATION_MZONE
end
local
g
=
Duel
.
GetMatchingGroup
(
c96746083
.
desfilter
,
tp
,
loc
,
loc2
,
c
)
if
g
:
GetCount
()
<
2
or
not
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_FIRE
)
then
return
end
if
g
:
GetCount
()
<
2
or
not
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_FIRE
)
then
return
end
local
g1
=
nil
local
g2
=
nil
local
g1
=
nil
local
g2
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
if
ft
<
1
then
if
ft
<
1
then
g1
=
g
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
1
,
nil
,
LOCATION_MZONE
)
g1
=
g
:
FilterSelect
(
tp
,
c96746083
.
locfilter
,
1
,
1
,
nil
,
tp
)
else
else
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
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