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
44c716f2
Commit
44c716f2
authored
Mar 04, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
06325e96
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
16 deletions
+17
-16
c10102001.lua
c10102001.lua
+1
-2
c10102003.lua
c10102003.lua
+1
-2
c10102005.lua
c10102005.lua
+1
-2
c10102008.lua
c10102008.lua
+1
-2
c10401004.lua
c10401004.lua
+1
-2
c10401014.lua
c10401014.lua
+1
-2
c10402033.lua
c10402033.lua
+1
-2
c10402037.lua
c10402037.lua
+1
-2
vgfuncLib.lua
vgfuncLib.lua
+9
-0
No files found.
c10102001.lua
View file @
44c716f2
...
...
@@ -15,6 +15,5 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
g
,
POS_FACEUP_ATTACK
)
end
function
cm
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
return
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
and
vgf
.
con
.
IsV
(
e
)
return
vgf
.
filter
.
FinalRush
(
tp
)
and
vgf
.
con
.
IsV
(
e
)
end
\ No newline at end of file
c10102003.lua
View file @
44c716f2
...
...
@@ -4,8 +4,7 @@ function cm.initial_effect(c)
vgd
.
action
.
AbilityCont
(
c
,
m
,
LOCATION_CIRCLE
,
EFFECT_TYPE_SINGLE
,
EFFECT_UPDATE_ATTACK
,
5000
,
cm
.
con
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
return
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
return
vgf
.
filter
.
FinalRush
(
tp
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c10102005.lua
View file @
44c716f2
...
...
@@ -6,8 +6,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
vgf
.
op
.
SoulCharge
(
1
)
Duel
.
BreakEffect
()
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
if
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
and
vgf
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_DAMAGE
,
0
,
1
,
nil
)
and
Duel
.
SelectEffectYesNo
(
tp
,
vgf
.
stringid
(
VgID
,
10
))
then
if
vgf
.
filter
.
FinalRush
(
tp
)
and
vgf
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_DAMAGE
,
0
,
1
,
nil
)
and
Duel
.
SelectEffectYesNo
(
tp
,
vgf
.
stringid
(
VgID
,
10
))
then
local
g
=
vgf
.
SelectMatchingCard
(
HINTMSG_DAMAGE
,
e
,
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_DAMAGE
,
0
,
1
,
1
,
nil
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_ATTACK
)
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
...
...
c10102008.lua
View file @
44c716f2
...
...
@@ -5,8 +5,7 @@ function cm.initial_effect(c)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
num
=
1
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
if
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
then
num
=
num
+
1
end
if
vgf
.
filter
.
FinalRush
(
tp
)
then
num
=
num
+
1
end
vgf
.
op
.
SoulCharge
(
num
)(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
cm
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c10401004.lua
View file @
44c716f2
...
...
@@ -9,8 +9,7 @@ function cm.checkcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
return
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
return
vgf
.
filter
.
FinalRush
(
tp
)
end
function
cm
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
)
>
0
and
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c10401014.lua
View file @
44c716f2
...
...
@@ -17,6 +17,5 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
vgf
.
Sendto
(
LOCATION_SOUL
,
g
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
return
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
and
vgf
.
con
.
IsR
(
e
)
return
vgf
.
filter
.
FinalRush
(
tp
)
and
vgf
.
con
.
IsR
(
e
)
end
\ No newline at end of file
c10402033.lua
View file @
44c716f2
...
...
@@ -12,8 +12,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
cm
.
aclimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
if
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
if
vgf
.
filter
.
FinalRush
(
tp
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
vgf
.
AtkUp
(
c
,
c
,
5000
,
nil
)
end
end
...
...
c10402037.lua
View file @
44c716f2
...
...
@@ -6,8 +6,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
vgf
.
op
.
CardsFromTo
(
REASON_EFFECT
,
LOCATION_CIRCLE
,
LOCATION_HAND
,
Card
.
IsCanBeCalled
,
1
,
1
,
e
,
tp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
if
vgf
.
GetValueType
(
ct
)
==
"number"
and
ct
==
10102001
then
if
vgf
.
filter
.
FinalRush
(
tp
)
then
Duel
.
BreakEffect
()
local
g
=
vgf
.
GetMatchingGroup
(
Card
.
IsFrontrow
,
tp
,
LOCATION_CIRCLE
,
0
,
nil
)
vgf
.
AtkUp
(
c
,
g
,
10000
,
nil
)
...
...
vgfuncLib.lua
View file @
44c716f2
...
...
@@ -4,10 +4,12 @@ VgF.Operation = {}
VgF
.
Cost
=
{}
VgF
.
Condition
=
{}
VgF
.
Effect
=
{}
VgF
.
Filter
=
{}
VgF
.
op
=
VgF
.
Operation
VgF
.
cost
=
VgF
.
Cost
VgF
.
con
=
VgF
.
Condition
VgF
.
effect
=
VgF
.
Effect
VgF
.
filter
=
VgF
.
Filter
vgf
=
VgF
bit
=
{}
...
...
@@ -1202,6 +1204,13 @@ function VgF.CallFilter(c, tp, zone)
return
c
:
IsRearguard
()
and
zone
==
VgF
.
SequenceToGlobal
(
tp
,
c
:
GetLocation
(),
c
:
GetSequence
())
end
--catalogue:关键字相关检测函数----------------------------------------------------------------------------------
-- 一气呵成之势
function
VgF
.
Filter
.
FinalRush
(
tp
)
local
ct
=
Duel
.
GetFlagEffectLabel
(
tp
,
FLAG_CONDITION
)
return
type
(
ct
)
==
"number"
and
ct
==
10102001
end
--catalogue:其他关键字----------------------------------------------------------------------------------
---返回p场上的先导者。
...
...
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