Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
V
Vgdpro 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
xiaoye
Vgdpro Scripts
Commits
e0c8ea53
Commit
e0c8ea53
authored
Mar 06, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update vgfuncLib.lua
parent
7aa7e678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vgfuncLib.lua
vgfuncLib.lua
+4
-4
No files found.
vgfuncLib.lua
View file @
e0c8ea53
...
@@ -1037,10 +1037,10 @@ function VgF.GetMatchingGroup(f, p, loc_self, loc_oppo, ex, ...)
...
@@ -1037,10 +1037,10 @@ function VgF.GetMatchingGroup(f, p, loc_self, loc_oppo, ex, ...)
local
g
=
Duel
.
GetMatchingGroup
(
loc_self_con
,
p
,
loc_self
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
loc_self_con
,
p
,
loc_self
,
0
,
nil
)
g
=
g
+
Duel
.
GetMatchingGroup
(
loc_oppo_con
,
p
,
0
,
loc_oppo
,
nil
)
g
=
g
+
Duel
.
GetMatchingGroup
(
loc_oppo_con
,
p
,
0
,
loc_oppo
,
nil
)
g
=
g
-
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
p
,
LOCATION_CIRCLE
,
LOCATION_CIRCLE
,
nil
)
g
=
g
-
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
p
,
LOCATION_CIRCLE
,
LOCATION_CIRCLE
,
nil
)
if
loc_self
&
LOCATION_
OVERLAY
>
0
then
if
loc_self
&
LOCATION_
SOUL
>
0
then
g
=
g
+
VgF
.
GetSoulGroup
(
p
)
g
=
g
+
VgF
.
GetSoulGroup
(
p
)
end
end
if
loc_oppo
&
LOCATION_
OVERLAY
>
0
then
if
loc_oppo
&
LOCATION_
SOUL
>
0
then
g
=
g
+
VgF
.
GetSoulGroup
(
1
-
p
)
g
=
g
+
VgF
.
GetSoulGroup
(
1
-
p
)
end
end
return
g
:
Filter
(
f
,
ex
,
...
)
return
g
:
Filter
(
f
,
ex
,
...
)
...
@@ -1070,8 +1070,8 @@ function VgF.SelectMatchingCard(msg, e, sp, f, p, loc_self, loc_oppo, min, max,
...
@@ -1070,8 +1070,8 @@ function VgF.SelectMatchingCard(msg, e, sp, f, p, loc_self, loc_oppo, min, max,
Duel
.
ConfirmCards
(
sp
,
Duel
.
GetFieldGroup
(
sp
,
LOCATION_DECK
,
0
))
Duel
.
ConfirmCards
(
sp
,
Duel
.
GetFieldGroup
(
sp
,
LOCATION_DECK
,
0
))
check_deck
=
true
check_deck
=
true
end
end
local
filter
=
function
(
c
,
e
)
local
filter
=
function
(
c
,
r
e
)
return
c
:
IsCanBeEffectTarget
(
e
)
or
not
c
:
IsLocation
(
LOCATION_CIRCLE
)
return
c
:
IsCanBeEffectTarget
(
r
e
)
or
not
c
:
IsLocation
(
LOCATION_CIRCLE
)
end
end
local
g
=
VgF
.
GetMatchingGroup
(
filter
,
p
,
loc_self
,
loc_oppo
,
ex
,
e
)
local
g
=
VgF
.
GetMatchingGroup
(
filter
,
p
,
loc_self
,
loc_oppo
,
ex
,
e
)
Duel
.
Hint
(
HINT_SELECTMSG
,
sp
,
msg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
sp
,
msg
)
...
...
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