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
41a468c9
Commit
41a468c9
authored
Apr 12, 2024
by
jwyxym
Committed by
GitHub
Apr 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add files via upload
parent
74d43675
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
VgD.Lua
VgD.Lua
+11
-11
c10101006.lua
c10101006.lua
+1
-1
No files found.
VgD.Lua
View file @
41a468c9
...
@@ -163,7 +163,7 @@ function VgD.CallOperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -163,7 +163,7 @@ function VgD.CallOperation(e,tp,eg,ep,ev,re,r,rp)
end
end
--超限舞装
--超限舞装
function
VgD
.
Over
Arm
(
c
,
f
)
function
VgD
.
Over
Dress
(
c
,
f
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
VgF
.
Stringid
(
VgID
,
9
))
e2
:
SetDescription
(
VgF
.
Stringid
(
VgID
,
9
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -171,24 +171,24 @@ function VgD.OverArm(c,f)
...
@@ -171,24 +171,24 @@ function VgD.OverArm(c,f)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetProperty
(
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetProperty
(
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e2
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e2
:
SetCondition
(
VgD
.
Over
Arm
Condition
(
f
))
e2
:
SetCondition
(
VgD
.
Over
Dress
Condition
(
f
))
e2
:
SetOperation
(
VgD
.
Over
Arm
Operation
(
f
))
e2
:
SetOperation
(
VgD
.
Over
Dress
Operation
(
f
))
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetOperation
(
VgD
.
Over
Arm
Sum
)
e3
:
SetOperation
(
VgD
.
Over
Dress
Sum
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
VgD
.
Over
Arm
Condition
(
f
)
function
VgD
.
Over
Dress
Condition
(
f
)
return
function
(
e
,
c
)
return
function
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
VgF
.
LvCondition
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
and
Duel
.
IsExistingMatchingCard
(
VgD
.
Over
Arm
Filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
f
)
return
VgF
.
LvCondition
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
and
Duel
.
IsExistingMatchingCard
(
VgD
.
Over
Dress
Filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
f
)
end
end
end
end
function
VgD
.
Over
Arm
Filter
(
c
,
f
,
zone
)
function
VgD
.
Over
Dress
Filter
(
c
,
f
,
zone
)
local
seq
local
seq
if
zone
and
zone
>
0
then
if
zone
and
zone
>
0
then
if
zone
==
0x1
then
seq
=
0
end
if
zone
==
0x1
then
seq
=
0
end
...
@@ -200,10 +200,10 @@ function VgD.OverArmFilter(c,f,zone)
...
@@ -200,10 +200,10 @@ function VgD.OverArmFilter(c,f,zone)
end
end
return
(
VgF
.
GetValueType
(
f
)
==
"function"
and
f
(
c
))
or
(
VgF
.
GetValueType
(
f
)
==
"number"
and
c
:
IsCode
(
f
))
return
(
VgF
.
GetValueType
(
f
)
==
"function"
and
f
(
c
))
or
(
VgF
.
GetValueType
(
f
)
==
"number"
and
c
:
IsCode
(
f
))
end
end
function
VgD
.
Over
Arm
Operation
(
f
)
function
VgD
.
Over
Dress
Operation
(
f
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
VgD
.
Over
Arm
Filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
code
)
local
g
=
Duel
.
GetMatchingGroup
(
VgD
.
Over
Dress
Filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
code
)
local
szone
local
szone
if
Duel
.
GetTurnPlayer
()
==
tp
and
tp
==
1
then
if
Duel
.
GetTurnPlayer
()
==
tp
and
tp
==
1
then
local
zone
=
0xff
local
zone
=
0xff
...
@@ -228,7 +228,7 @@ function VgD.OverArmOperation(f)
...
@@ -228,7 +228,7 @@ function VgD.OverArmOperation(f)
szone
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
zone
)
szone
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
zone
)
end
end
e
:
SetValue
(
function
()
return
0
,
szone
end
)
e
:
SetValue
(
function
()
return
0
,
szone
end
)
local
tc
=
Duel
.
GetMatchingGroup
(
VgD
.
Over
Arm
Filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
szone
):
GetFirst
()
local
tc
=
Duel
.
GetMatchingGroup
(
VgD
.
Over
Dress
Filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
szone
):
GetFirst
()
if
not
tc
then
return
end
if
not
tc
then
return
end
local
mg
=
tc
:
GetOverlayGroup
()
local
mg
=
tc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
if
mg
:
GetCount
()
~=
0
then
...
@@ -238,7 +238,7 @@ function VgD.OverArmOperation(f)
...
@@ -238,7 +238,7 @@ function VgD.OverArmOperation(f)
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
tc
))
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
tc
))
end
end
end
end
function
VgD
.
Over
Arm
Sum
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
VgD
.
Over
Dress
Sum
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
c
:
RegisterFlagEffect
(
ConditionFlag
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
201
)
c
:
RegisterFlagEffect
(
ConditionFlag
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
201
)
end
end
...
...
c10101006.lua
View file @
41a468c9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
vgf
.
VgCard
(
c
)
vgd
.
Over
Arm
(
c
,
10101009
)
vgd
.
Over
Dress
(
c
,
10101009
)
vgd
.
EffectTypeTrigger
(
c
,
m
,
LOCATION_MZONE
,
EFFECT_TYPE_SINGLE
,
EVENT_ATTACK_ANNOUNCE
,
cm
.
operation2
,
nil
,
cm
.
condition2
)
vgd
.
EffectTypeTrigger
(
c
,
m
,
LOCATION_MZONE
,
EFFECT_TYPE_SINGLE
,
EVENT_ATTACK_ANNOUNCE
,
cm
.
operation2
,
nil
,
cm
.
condition2
)
end
end
function
cm
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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