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
e9807fc6
Commit
e9807fc6
authored
Apr 20, 2024
by
k3_the_failure
Committed by
GitHub
Apr 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Paramter type 'nil'
parent
8c01cc38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
VgD.Lua
VgD.Lua
+24
-24
No files found.
VgD.Lua
View file @
e9807fc6
...
@@ -733,14 +733,14 @@ end
...
@@ -733,14 +733,14 @@ end
---使c可以作为指令卡发动。
---使c可以作为指令卡发动。
---@param c Card 要操作的卡
---@param c Card 要操作的卡
---@param m integer 指示脚本的整数。cxxx的脚本应填入xxx。cm的脚本应填入m。
---@param m integer 指示脚本的整数。cxxx的脚本应填入xxx。cm的脚本应填入m。
---@param op function 作为指令卡的效果
---@param op function
|nil
作为指令卡的效果
---@param con function 作为指令卡的发动条件
---@param con function
|nil
作为指令卡的发动条件
---@param specialchk any 未知。请资讯群主。
---@param specialchk any
|nil
未知。请资讯群主。
---@param num1 any 未知。请资讯群主。
---@param num1 any
|nil
未知。请资讯群主。
---@param num2 any 未知。请资讯群主。
---@param num2 any
|nil
未知。请资讯群主。
---@param num3 any 未知。请资讯群主。
---@param num3 any
|nil
未知。请资讯群主。
---@param num4 any 未知。请资讯群主。
---@param num4 any
|nil
未知。请资讯群主。
---@param num5 any 未知。请资讯群主。
---@param num5 any
|nil
未知。请资讯群主。
function
VgD
.
SpellActivate
(
c
,
m
,
op
,
con
,
cost
)
function
VgD
.
SpellActivate
(
c
,
m
,
op
,
con
,
cost
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
if
m
then
e1
:
SetDescription
(
VgF
.
Stringid
(
m
,
0
))
end
if
m
then
e1
:
SetDescription
(
VgF
.
Stringid
(
m
,
0
))
end
...
@@ -813,10 +813,10 @@ end
...
@@ -813,10 +813,10 @@ end
---@param c Card 被Ride的卡
---@param c Card 被Ride的卡
---@param m integer 指示脚本的整数。cxxx的脚本应填入xxx。cm的脚本应填入m。
---@param m integer 指示脚本的整数。cxxx的脚本应填入xxx。cm的脚本应填入m。
---@param code integer Ride的卡
---@param code integer Ride的卡
---@param op function 触发的效果
---@param op function
|nil
触发的效果
---@param cost function 效果的费用
---@param cost function
|nil
效果的费用
---@param con function 效果的条件
---@param con function
|nil
效果的条件
---@param tg function 未知。请资讯群主。
---@param tg function
|nil
未知。请资讯群主。
function
VgD
.
BeRidedByCard
(
c
,
m
,
code
,
op
,
cost
,
con
,
tg
)
function
VgD
.
BeRidedByCard
(
c
,
m
,
code
,
op
,
cost
,
con
,
tg
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
@@ -864,12 +864,12 @@ end
...
@@ -864,12 +864,12 @@ end
---@param loc integer 发动时所处的位置
---@param loc integer 发动时所处的位置
---@param typ integer 若是自己状态变化引发,则填EFFECT_TYPE_SINGLE;<br>若是场上任意一卡状态变化引发,则填EFFECT_TYPE_FIELD。
---@param typ integer 若是自己状态变化引发,则填EFFECT_TYPE_SINGLE;<br>若是场上任意一卡状态变化引发,则填EFFECT_TYPE_FIELD。
---@param code integer 触发的时点
---@param code integer 触发的时点
---@param op function 触发的效果
---@param op function
|nil
触发的效果
---@param cost function 效果的费用
---@param cost function
|nil
效果的费用
---@param con function 效果触发的条件
---@param con function
|nil
效果触发的条件
---@param tg function 未知。请资讯群主。
---@param tg function
|nil
未知。请资讯群主。
---@param count integer 指示效果在同一回合内最多发动的次数
---@param count integer
|nil
指示效果在同一回合内最多发动的次数
---@param property integer 指示效果的特殊属性。如确有必要填,请咨询群主。
---@param property integer
|nil
指示效果的特殊属性。如确有必要填,请咨询群主。
function
VgD
.
EffectTypeTrigger
(
c
,
m
,
loc
,
typ
,
code
,
op
,
cost
,
con
,
tg
,
count
,
property
,
stringid
)
function
VgD
.
EffectTypeTrigger
(
c
,
m
,
loc
,
typ
,
code
,
op
,
cost
,
con
,
tg
,
count
,
property
,
stringid
)
local
type2
=
EFFECT_TYPE_TRIGGER_F
local
type2
=
EFFECT_TYPE_TRIGGER_F
if
VgF
.
GetValueType
(
cost
)
==
"function"
then
type2
=
EFFECT_TYPE_TRIGGER_O
end
if
VgF
.
GetValueType
(
cost
)
==
"function"
then
type2
=
EFFECT_TYPE_TRIGGER_O
end
...
@@ -894,12 +894,12 @@ end
...
@@ -894,12 +894,12 @@ end
---@param c Card 要触发效果的卡
---@param c Card 要触发效果的卡
---@param m integer 指示脚本的整数。cxxx的脚本应填入xxx。cm的脚本应填入m。
---@param m integer 指示脚本的整数。cxxx的脚本应填入xxx。cm的脚本应填入m。
---@param loc integer 发动时所处的位置
---@param loc integer 发动时所处的位置
---@param op function 触发的效果
---@param op function
|nil
触发的效果
---@param cost function 效果的费用
---@param cost function
|nil
效果的费用
---@param con function 效果触发的条件
---@param con function
|nil
效果触发的条件
---@param tg function 未知。请资讯群主。
---@param tg function
|nil
未知。请资讯群主。
---@param count integer 指示效果在同一回合内最多发动的次数
---@param count integer
|nil
指示效果在同一回合内最多发动的次数
---@param property integer 指示效果的特殊属性。如确有必要填,请咨询群主。
---@param property integer
|nil
指示效果的特殊属性。如确有必要填,请咨询群主。
function
VgD
.
EffectTypeIgnition
(
c
,
m
,
loc
,
op
,
cost
,
con
,
tg
,
count
,
property
,
stringid
)
function
VgD
.
EffectTypeIgnition
(
c
,
m
,
loc
,
op
,
cost
,
con
,
tg
,
count
,
property
,
stringid
)
if
not
loc
then
loc
=
LOCATION_MZONE
end
if
not
loc
then
loc
=
LOCATION_MZONE
end
if
not
stringid
then
stringid
=
1
end
if
not
stringid
then
stringid
=
1
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