Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
7d1b26e7
Commit
7d1b26e7
authored
Dec 24, 2018
by
Wind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Operation fix
parent
1e7cb88b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
46 deletions
+46
-46
2pick/pick.lua
2pick/pick.lua
+46
-46
No files found.
2pick/pick.lua
View file @
7d1b26e7
...
@@ -753,10 +753,10 @@ function Auxiliary.FireEH_Condition(e,c)
...
@@ -753,10 +753,10 @@ function Auxiliary.FireEH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FireEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FireEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
FireEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
FireEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -782,10 +782,10 @@ function Auxiliary.WindEH_Condition(e,c)
...
@@ -782,10 +782,10 @@ function Auxiliary.WindEH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WindEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WindEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
WindEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
WindEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -811,10 +811,10 @@ function Auxiliary.EarthEH_Condition(e,c)
...
@@ -811,10 +811,10 @@ function Auxiliary.EarthEH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
EarthEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
EarthEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
EarthEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
EarthEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -840,10 +840,10 @@ function Auxiliary.LightEH_Condition(e,c)
...
@@ -840,10 +840,10 @@ function Auxiliary.LightEH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
LightEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
LightEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
LightEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
LightEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -869,10 +869,10 @@ function Auxiliary.DarkEH_Condition(e,c)
...
@@ -869,10 +869,10 @@ function Auxiliary.DarkEH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DarkEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DarkEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
DarkEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
DarkEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -898,10 +898,10 @@ function Auxiliary.WaterEH_Condition(e,c)
...
@@ -898,10 +898,10 @@ function Auxiliary.WaterEH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WaterEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WaterEH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
WaterEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
WaterEH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterEH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterEH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -927,10 +927,10 @@ function Auxiliary.FireShadoll_Condition(e,c)
...
@@ -927,10 +927,10 @@ function Auxiliary.FireShadoll_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FireShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FireShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
FireShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
FireShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -956,10 +956,10 @@ function Auxiliary.WindShadoll_Condition(e,c)
...
@@ -956,10 +956,10 @@ function Auxiliary.WindShadoll_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WindShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WindShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
WindShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
WindShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -985,10 +985,10 @@ function Auxiliary.EarthShadoll_Condition(e,c)
...
@@ -985,10 +985,10 @@ function Auxiliary.EarthShadoll_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
EarthShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
EarthShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
EarthShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
EarthShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1014,10 +1014,10 @@ function Auxiliary.LightShadoll_Condition(e,c)
...
@@ -1014,10 +1014,10 @@ function Auxiliary.LightShadoll_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
LightShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
LightShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
LightShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
LightShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1043,10 +1043,10 @@ function Auxiliary.DarkShadoll_Condition(e,c)
...
@@ -1043,10 +1043,10 @@ function Auxiliary.DarkShadoll_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DarkShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DarkShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
DarkShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
DarkShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1072,10 +1072,10 @@ function Auxiliary.WaterShadoll_Condition(e,c)
...
@@ -1072,10 +1072,10 @@ function Auxiliary.WaterShadoll_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WaterShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WaterShadoll_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
WaterShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
WaterShadoll_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterShadoll_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterShadoll_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1101,10 +1101,10 @@ function Auxiliary.FireInvoke_Condition(e,c)
...
@@ -1101,10 +1101,10 @@ function Auxiliary.FireInvoke_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FireInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FireInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
FireInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
FireInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FireInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1130,10 +1130,10 @@ function Auxiliary.WindInvoke_Condition(e,c)
...
@@ -1130,10 +1130,10 @@ function Auxiliary.WindInvoke_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WindInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WindInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
WindInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
WindInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WindInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1159,10 +1159,10 @@ function Auxiliary.EarthInvoke_Condition(e,c)
...
@@ -1159,10 +1159,10 @@ function Auxiliary.EarthInvoke_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
EarthInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
EarthInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
EarthInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
EarthInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
EarthInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1188,10 +1188,10 @@ function Auxiliary.LightInvoke_Condition(e,c)
...
@@ -1188,10 +1188,10 @@ function Auxiliary.LightInvoke_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
LightInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
LightInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
LightInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
LightInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LightInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1217,10 +1217,10 @@ function Auxiliary.DarkInvoke_Condition(e,c)
...
@@ -1217,10 +1217,10 @@ function Auxiliary.DarkInvoke_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DarkInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DarkInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
DarkInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
DarkInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DarkInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1246,10 +1246,10 @@ function Auxiliary.WaterInvoke_Condition(e,c)
...
@@ -1246,10 +1246,10 @@ function Auxiliary.WaterInvoke_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WaterInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
WaterInvoke_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
WaterInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
WaterInvoke_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterInvoke_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
WaterInvoke_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1275,10 +1275,10 @@ function Auxiliary.InvokeBoss_Condition(e,c)
...
@@ -1275,10 +1275,10 @@ function Auxiliary.InvokeBoss_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
InvokeBoss_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
InvokeBoss_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
InvokeBoss_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
InvokeBoss_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
InvokeBoss_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
InvokeBoss_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
InvokeBoss_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
InvokeBoss_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1304,10 +1304,10 @@ function Auxiliary.FusionDragon_Condition(e,c)
...
@@ -1304,10 +1304,10 @@ function Auxiliary.FusionDragon_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FusionDragon_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
FusionDragon_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
FusionDragon_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
FusionDragon_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FusionDragon_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FusionDragon_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FusionDragon_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
FusionDragon_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1333,10 +1333,10 @@ function Auxiliary.PhantomHero_Condition(e,c)
...
@@ -1333,10 +1333,10 @@ function Auxiliary.PhantomHero_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
PhantomHero_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
PhantomHero_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
PhantomHero_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
PhantomHero_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PhantomHero_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PhantomHero_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PhantomHero_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PhantomHero_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1362,10 +1362,10 @@ function Auxiliary.PPlant_Condition(e,c)
...
@@ -1362,10 +1362,10 @@ function Auxiliary.PPlant_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
PPlant_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
PPlant_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
PPlant_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
PPlant_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PPlant_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PPlant_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PPlant_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PPlant_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
@@ -1391,10 +1391,10 @@ function Auxiliary.DH_Condition(e,c)
...
@@ -1391,10 +1391,10 @@ function Auxiliary.DH_Condition(e,c)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
Auxiliary
.
DH_spfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
c
)
end
end
function
Auxiliary
.
DH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Auxiliary
.
DH_Operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DH_spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
sg
:
GetFirst
())
local
g2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
DH_spfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
:
GetFirst
(),
tp
,
c
,
sg
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
local
c2
=
g2
:
Select
(
tp
,
1
,
1
,
sg
:
GetFirst
())
sg
:
Merge
(
c2
)
sg
:
Merge
(
c2
)
...
...
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