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
6196534c
Commit
6196534c
authored
Apr 28, 2024
by
jwyxym
Committed by
GitHub
Apr 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add files via upload
parent
d05eeaed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
VgD.Lua
VgD.Lua
+4
-3
No files found.
VgD.Lua
View file @
6196534c
...
...
@@ -848,7 +848,8 @@ end
function
VgD
.
BeRidedByCardCondition
(
code
,
f
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
code
and
code
>
0
and
not
c
:
GetReasonCard
():
IsCode
(
code
)
then
return
false
end
if
VgF
.
GetValueType
(
code
)
==
"function"
and
not
code
(
c
:
GetReasonCard
())
then
return
false
elseif
VgF
.
GetValueType
(
code
)
==
"number"
and
not
c
:
GetReasonCard
():
IsCode
(
code
)
then
return
false
end
return
r
==
REASON_RIDEUP
and
(
VgF
.
GetValueType
(
f
)
==
"nil"
or
f
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
))
end
end
...
...
@@ -992,7 +993,7 @@ function VgD.EffectTypeContinuousChangeAttack(c,typ,val,con,tg,mc,code,reset,loc
e1
:
SetType
(
typ
)
e1
:
SetCode
(
code
)
e1
:
SetRange
(
loc
)
if
reset
>
0
then
e1
:
SetReset
(
reset
)
end
if
reset
and
reset
>
0
then
e1
:
SetReset
(
reset
)
end
if
VgF
.
GetValueType
(
con
)
==
"function"
then
e1
:
SetCondition
(
con
)
end
if
VgF
.
GetValueType
(
tg
)
==
"function"
then
e1
:
SetTarget
(
tg
)
end
e1
:
SetValue
(
val
)
...
...
@@ -1004,7 +1005,7 @@ function VgD.TriggerCountUp(c,num,reset)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_CUSTOM
+
EVENT_TRIGGERCOUNTUP
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
if
reset
>
0
then
e1
:
SetReset
(
reset
)
end
if
reset
and
reset
>
0
then
e1
:
SetReset
(
reset
)
end
e1
:
SetOperation
(
VgD
.
TriggerCountUpOperation
(
num
))
c
:
RegisterEffect
(
e1
)
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