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
5f2f5df8
Commit
5f2f5df8
authored
Oct 10, 2024
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f85898d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+3
-1
VgD.Lua
VgD.Lua
+1
-1
No files found.
README.md
View file @
5f2f5df8
...
@@ -316,11 +316,13 @@ end
...
@@ -316,11 +316,13 @@ end
## 6.特别用于“力量上升”的【永】能力注册范例
## 6.特别用于“力量上升”的【永】能力注册范例
```
lua
```
lua
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
m
,
LOCATION_MZONE
,
typ
,
val
[,
con
,
tg
,
loc_self
,
loc_op
,
reset
,
mc
])
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
m
,
loc
,
typ
,
val
[,
con
,
tg
,
loc_self
,
loc_op
,
reset
,
mc
])
```
```
参数注释
参数注释
> **loc : 发动的区域(vg的描述中会在效果类型后描述这个效果在哪些区域适用) `填 nil 则默认为 LOCATION_MZONE`**
>
> **typ : 自身力量上升/场上的卡力量上升 `填 nil 则填默认为 EFFECT_TYPE_SINGLE`**
> **typ : 自身力量上升/场上的卡力量上升 `填 nil 则填默认为 EFFECT_TYPE_SINGLE`**
>
>
> **val : 力量上升的具体数值**
> **val : 力量上升的具体数值**
...
...
VgD.Lua
View file @
5f2f5df8
...
@@ -1378,7 +1378,7 @@ function VgD.ContinuousSpellOperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -1378,7 +1378,7 @@ function VgD.ContinuousSpellOperation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
VgF
.
Sendto
(
LOCATION_ORDER
,
c
,
tp
,
POS_FACEUP_ATTACK
,
REASON_RULE
)
VgF
.
Sendto
(
LOCATION_ORDER
,
c
,
tp
,
POS_FACEUP_ATTACK
,
REASON_RULE
)
end
end
function
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
m
,
LOCATION_MZONE
,
loc
,
typ
,
val
,
con
,
tg
,
loc_self
,
loc_op
,
reset
,
mc
)
function
VgD
.
EffectTypeContinuousChangeAttack
(
c
,
m
,
loc
,
typ
,
val
,
con
,
tg
,
loc_self
,
loc_op
,
reset
,
mc
)
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
local
f
=
VgF
.
True
local
f
=
VgF
.
True
if
not
cm
.
is_has_continuous
and
not
reset
then
cm
.
is_has_continuous
=
true
end
if
not
cm
.
is_has_continuous
and
not
reset
then
cm
.
is_has_continuous
=
true
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