Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
10013348
Commit
10013348
authored
Jul 23, 2024
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bbab154b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
20 deletions
+27
-20
expansions/script/c33720215.lua
expansions/script/c33720215.lua
+19
-13
expansions/script/glitchylib_vsnemo.lua
expansions/script/glitchylib_vsnemo.lua
+8
-7
No files found.
expansions/script/c33720215.lua
View file @
10013348
...
@@ -38,9 +38,12 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -38,9 +38,12 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
chk
==
0
then
return
true
return
true
end
end
local
opinfochk
=
false
local
g
=
aux
.
SelectSimultaneousEventGroup
(
eg
,
id
+
100
,
1
,
e
,
id
+
200
)
local
g
=
aux
.
SelectSimultaneousEventGroup
(
eg
,
id
+
100
,
1
,
e
,
id
+
200
)
if
not
g
or
#
g
==
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
0
,
0
,
LOCATION_MZONE
)
else
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
local
opinfochk
=
false
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
if
g
and
#
g
>
0
then
if
g
and
#
g
>
0
then
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
...
@@ -54,8 +57,9 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,8 +57,9 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
end
end
end
if
opinfochk
then
return
end
if
opinfochk
then
return
end
Duel
.
SetPossibleOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
#
g
,
0
,
0
)
Duel
.
SetPossibleOperationInfo
(
0
,
CATEGORY_TODECK
,
g
and
g
or
nil
,
g
and
#
g
or
0
,
0
,
0
)
Duel
.
SetPossibleOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
1
-
tp
,
2
)
Duel
.
SetPossibleOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
1
-
tp
,
2
)
Duel
.
SetPossibleOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetPossibleOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
...
@@ -67,7 +71,9 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +71,9 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
top
:
GetFirst
()
local
tc
=
top
:
GetFirst
()
if
tc
:
IsSetCard
(
ARCHE_SEPIALIFE
)
then
if
tc
:
IsSetCard
(
ARCHE_SEPIALIFE
)
then
local
og
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
og
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
if
not
og
or
#
og
==
0
then
return
end
local
g
=
og
:
Filter
(
Card
.
IsRelateToChain
,
nil
)
local
g
=
og
:
Filter
(
Card
.
IsRelateToChain
,
nil
)
if
#
g
==
0
then
return
end
g
:
AddCard
(
tc
)
g
:
AddCard
(
tc
)
local
tg
=
g
:
Filter
(
Card
.
IsAbleToDeck
,
nil
)
local
tg
=
g
:
Filter
(
Card
.
IsAbleToDeck
,
nil
)
if
#
tg
==#
og
+
1
and
Duel
.
ShuffleIntoDeck
(
tg
,
tp
,
nil
,
SEQ_DECKTOP
)
>
0
then
if
#
tg
==#
og
+
1
and
Duel
.
ShuffleIntoDeck
(
tg
,
tp
,
nil
,
SEQ_DECKTOP
)
>
0
then
...
...
expansions/script/glitchylib_vsnemo.lua
View file @
10013348
...
@@ -4004,7 +4004,14 @@ function Auxiliary.SelectSimultaneousEventGroup(g,flag,ct,e,excflag)
...
@@ -4004,7 +4004,14 @@ function Auxiliary.SelectSimultaneousEventGroup(g,flag,ct,e,excflag)
if
excflag
then
if
excflag
then
g
=
g
:
Filter
(
aux
.
NOT
(
Card
.
HasFlagEffectLabel
),
nil
,
excflag
,
fid
)
g
=
g
:
Filter
(
aux
.
NOT
(
Card
.
HasFlagEffectLabel
),
nil
,
excflag
,
fid
)
end
end
if
#
g
>
1
then
if
#
g
==
0
then
return
end
if
#
g
==
1
then
Duel
.
HintSelection
(
g
)
if
excflag
then
g
:
GetFirst
():
RegisterFlagEffect
(
excflag
,
RESET_CHAIN
,
0
,
1
,
fid
)
end
return
g
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
SimultaneousEventGroupCheck
,
false
,
ct
,
#
g
,
flag
,
g
)
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
SimultaneousEventGroupCheck
,
false
,
ct
,
#
g
,
flag
,
g
)
Duel
.
HintSelection
(
tg
)
Duel
.
HintSelection
(
tg
)
...
@@ -4014,12 +4021,6 @@ function Auxiliary.SelectSimultaneousEventGroup(g,flag,ct,e,excflag)
...
@@ -4014,12 +4021,6 @@ function Auxiliary.SelectSimultaneousEventGroup(g,flag,ct,e,excflag)
end
end
end
end
return
tg
return
tg
else
Duel
.
HintSelection
(
g
)
if
excflag
then
g
:
GetFirst
():
RegisterFlagEffect
(
excflag
,
RESET_CHAIN
,
0
,
1
,
fid
)
end
return
g
end
end
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