Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
6beb07f4
Commit
6beb07f4
authored
Apr 19, 2021
by
Chrono-Genex
Committed by
GitHub
Apr 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for There Can Be Only One, Kotodama (#1619)
parent
167309ac
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
38 additions
and
0 deletions
+38
-0
c1980574.lua
c1980574.lua
+2
-0
c20050865.lua
c20050865.lua
+2
-0
c20285786.lua
c20285786.lua
+2
-0
c23536866.lua
c23536866.lua
+2
-0
c25148255.lua
c25148255.lua
+2
-0
c28534130.lua
c28534130.lua
+2
-0
c29087919.lua
c29087919.lua
+2
-0
c40975243.lua
c40975243.lua
+2
-0
c44161893.lua
c44161893.lua
+2
-0
c46005939.lua
c46005939.lua
+2
-0
c61314842.lua
c61314842.lua
+2
-0
c62829077.lua
c62829077.lua
+2
-0
c66938505.lua
c66938505.lua
+2
-0
c71095768.lua
c71095768.lua
+2
-0
c82224646.lua
c82224646.lua
+2
-0
c87804365.lua
c87804365.lua
+2
-0
c89974904.lua
c89974904.lua
+2
-0
c92932860.lua
c92932860.lua
+2
-0
c93665266.lua
c93665266.lua
+2
-0
No files found.
c1980574.lua
View file @
6beb07f4
...
@@ -39,7 +39,9 @@ function c1980574.synop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,9 @@ function c1980574.synop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
nil
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
nil
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c20050865.lua
View file @
6beb07f4
...
@@ -52,7 +52,9 @@ function c20050865.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,9 @@ function c20050865.scop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c20050865
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c20050865
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c20285786.lua
View file @
6beb07f4
...
@@ -62,6 +62,8 @@ function c20285786.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,6 +62,8 @@ function c20285786.activate(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
c20285786
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c20285786
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c23536866.lua
View file @
6beb07f4
...
@@ -70,6 +70,8 @@ function c23536866.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,6 +70,8 @@ function c23536866.operation(e,tp,eg,ep,ev,re,r,rp)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
tc2
:
RegisterEffect
(
e4
)
tc2
:
RegisterEffect
(
e4
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
c23536866
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
,
tp
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c23536866
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
,
tp
)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c25148255.lua
View file @
6beb07f4
...
@@ -47,7 +47,9 @@ function c25148255.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,9 @@ function c25148255.scop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c25148255
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c25148255
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c28534130.lua
View file @
6beb07f4
...
@@ -50,6 +50,8 @@ function c28534130.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,6 +50,8 @@ function c28534130.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
not
tc
:
IsLocation
(
LOCATION_MZONE
)
then
return
end
local
tg
=
Duel
.
GetMatchingGroup
(
c28534130
.
lkfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tc
)
local
tg
=
Duel
.
GetMatchingGroup
(
c28534130
.
lkfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tc
)
if
tg
:
GetCount
()
>
0
then
if
tg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c29087919.lua
View file @
6beb07f4
...
@@ -43,6 +43,8 @@ function c29087919.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,6 +43,8 @@ function c29087919.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c29087919
.
filter2
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c29087919
.
filter2
,
nil
,
e
,
tp
)
local
ct
=
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
ct
=
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
ct
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
c29087919
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
,
ct
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c29087919
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
,
ct
)
if
ct
>=
2
and
xyzg
:
GetCount
()
>
0
then
if
ct
>=
2
and
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c40975243.lua
View file @
6beb07f4
...
@@ -65,6 +65,8 @@ function c40975243.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,6 +65,8 @@ function c40975243.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
local
og
=
Duel
.
GetOperatedGroup
()
local
og
=
Duel
.
GetOperatedGroup
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
sg
:
GetCount
()
then
return
end
local
tg
=
Duel
.
GetMatchingGroup
(
c40975243
.
lkfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
og
)
local
tg
=
Duel
.
GetMatchingGroup
(
c40975243
.
lkfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
og
)
if
og
:
GetCount
()
==
sg
:
GetCount
()
and
tg
:
GetCount
()
>
0
then
if
og
:
GetCount
()
==
sg
:
GetCount
()
and
tg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c44161893.lua
View file @
6beb07f4
...
@@ -74,6 +74,8 @@ function c44161893.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,6 +74,8 @@ function c44161893.spop(e,tp,eg,ep,ev,re,r,rp)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
tc2
:
RegisterEffect
(
e4
)
tc2
:
RegisterEffect
(
e4
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
c44161893
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
sg
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c44161893
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
sg
)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c46005939.lua
View file @
6beb07f4
...
@@ -76,6 +76,8 @@ function c46005939.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,6 +76,8 @@ function c46005939.activate(e,tp,eg,ep,ev,re,r,rp)
local
e4
=
e2
:
Clone
()
local
e4
=
e2
:
Clone
()
tc2
:
RegisterEffect
(
e4
)
tc2
:
RegisterEffect
(
e4
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
e5
=
nil
local
e5
=
nil
local
e6
=
nil
local
e6
=
nil
if
tc1
:
IsLevelAbove
(
1
)
and
tc2
:
IsLevelAbove
(
1
)
then
if
tc1
:
IsLevelAbove
(
1
)
and
tc2
:
IsLevelAbove
(
1
)
then
...
...
c61314842.lua
View file @
6beb07f4
...
@@ -48,6 +48,8 @@ function c61314842.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,6 +48,8 @@ function c61314842.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c61314842
.
filter2
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c61314842
.
filter2
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
<
2
then
return
end
if
g
:
GetCount
()
<
2
then
return
end
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
c61314842
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c61314842
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c62829077.lua
View file @
6beb07f4
...
@@ -84,6 +84,8 @@ function c62829077.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,6 +84,8 @@ function c62829077.activate(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
3
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
c62829077
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c62829077
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c66938505.lua
View file @
6beb07f4
...
@@ -52,7 +52,9 @@ function c66938505.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,9 @@ function c66938505.scop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
Duel
.
SpecialSummonComplete
()
==
0
then
return
end
if
Duel
.
SpecialSummonComplete
()
==
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c66938505
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c66938505
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c71095768.lua
View file @
6beb07f4
...
@@ -113,6 +113,8 @@ function c71095768.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,6 +113,8 @@ function c71095768.spop(e,tp,eg,ep,ev,re,r,rp)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
tc2
:
RegisterEffect
(
e4
)
tc2
:
RegisterEffect
(
e4
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
xyzg
=
Duel
.
GetMatchingGroup
(
Card
.
IsXyzSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
sg
,
2
,
2
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
Card
.
IsXyzSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
sg
,
2
,
2
)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c82224646.lua
View file @
6beb07f4
...
@@ -133,7 +133,9 @@ function c82224646.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -133,7 +133,9 @@ function c82224646.scop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
Duel
.
SpecialSummonComplete
()
==
0
then
return
end
if
Duel
.
SpecialSummonComplete
()
==
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c82224646
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tp
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c82224646
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tp
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c87804365.lua
View file @
6beb07f4
...
@@ -76,6 +76,8 @@ function c87804365.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,6 +76,8 @@ function c87804365.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
local
og
=
Duel
.
GetOperatedGroup
()
local
og
=
Duel
.
GetOperatedGroup
()
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
g
:
GetCount
()
then
return
end
if
op
==
0
then
if
op
==
0
then
local
tg
=
Duel
.
GetMatchingGroup
(
c87804365
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
og
)
local
tg
=
Duel
.
GetMatchingGroup
(
c87804365
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
og
)
if
og
:
GetCount
()
==
g
:
GetCount
()
and
tg
:
GetCount
()
>
0
then
if
og
:
GetCount
()
==
g
:
GetCount
()
and
tg
:
GetCount
()
>
0
then
...
...
c89974904.lua
View file @
6beb07f4
...
@@ -40,6 +40,8 @@ function c89974904.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,6 +40,8 @@ function c89974904.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
if
not
tc
:
IsLocation
(
LOCATION_MZONE
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c89974904
.
cfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tc
)
local
g
=
Duel
.
GetMatchingGroup
(
c89974904
.
cfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tc
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c92932860.lua
View file @
6beb07f4
...
@@ -83,7 +83,9 @@ function c92932860.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,7 +83,9 @@ function c92932860.scop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c92932860
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c92932860
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c93665266.lua
View file @
6beb07f4
...
@@ -49,7 +49,9 @@ function c93665266.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,9 @@ function c93665266.scop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c93665266
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c93665266
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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