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
b0c5ee2a
Commit
b0c5ee2a
authored
Nov 11, 2024
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update VgD.Lua
parent
5ccf883a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
VgD.Lua
VgD.Lua
+7
-7
No files found.
VgD.Lua
View file @
b0c5ee2a
...
@@ -282,12 +282,12 @@ end
...
@@ -282,12 +282,12 @@ end
---舞装加身-「code」(在游戏中,也当做与指定的卡同名的卡使用。)
---舞装加身-「code」(在游戏中,也当做与指定的卡同名的卡使用。)
function
VgD
.
DressUp
(
c
,
code
)
function
VgD
.
DressUp
(
c
,
code
)
local
e
=
Effect
.
CreateEffect
(
c
)
local
e
=
Effect
.
CreateEffect
(
c
)
e
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
:
SetCode
(
EFFECT_ADD_CODE
)
e
:
SetCode
(
EFFECT_ADD_CODE
)
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
:
SetValue
(
code
)
e
:
SetValue
(
code
)
c
:
RegisterEffect
(
e
)
c
:
RegisterEffect
(
e
)
end
end
--战斗阶段
--战斗阶段
...
@@ -552,7 +552,7 @@ function vgd.CardToG(c,m,cost,op,con)
...
@@ -552,7 +552,7 @@ function vgd.CardToG(c,m,cost,op,con)
if
VgF
.
GetValueType
(
con
)
==
"function"
then
e1
:
SetCondition
(
con
)
end
if
VgF
.
GetValueType
(
con
)
==
"function"
then
e1
:
SetCondition
(
con
)
end
if
VgF
.
GetValueType
(
cost
)
==
"function"
then
e1
:
SetCost
(
cost
)
end
if
VgF
.
GetValueType
(
cost
)
==
"function"
then
e1
:
SetCost
(
cost
)
end
e1
:
SetCondition
(
VgD
.
CardToGCondition
)
e1
:
SetCondition
(
VgD
.
CardToGCondition
)
if
VgF
.
GetValueType
(
op
)
~=
"function"
then
e1
:
SetOperation
(
VgD
.
CardToGOperation
)
else
e1
:
SetOperation
(
op
)
end
if
VgF
.
GetValueType
(
op
)
~=
"function"
then
e1
:
SetOperation
(
VgD
.
CardToGOperation
)
else
e1
:
SetOperation
(
op
)
end
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
VgD
.
CardToGCondition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
VgD
.
CardToGCondition
(
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