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
f29ed288
Commit
f29ed288
authored
Mar 30, 2024
by
jwyxym
Committed by
GitHub
Mar 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add files via upload
parent
3834ecaa
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
44 deletions
+71
-44
VgD.Lua
VgD.Lua
+47
-35
VgDefinition.Lua
VgDefinition.Lua
+8
-7
c10101015.lua
c10101015.lua
+5
-2
c10102015.lua
c10102015.lua
+11
-0
No files found.
VgD.Lua
View file @
f29ed288
This diff is collapsed.
Click to expand it.
VgDefinition.Lua
View file @
f29ed288
...
...
@@ -15,10 +15,11 @@ LOCATION_REMOVED =0x20 --封锁区
LOCATION_EXTRA
=
0x40
--额外
LOCATION_OVERLAY
=
0x80
--灵魂
LOCATION_ONFIELD
=
0x0c
--场上(LOCATION_MZONE+LOCATION_SZONE)
LOCATION_SPARE
=
0x110
--备用格子(用于怪物箱等)
LOCATION_EXILE
=
0x120
--除外区
LOCATION_DAMAGE
=
0x140
--伤害区
LOCATION_ORDER
=
0x180
--指令区
LOCATION_EXILE
=
0x400
--除外区
LOCATION_DAMAGE
=
0x800
--伤害区
LOCATION_ORDER
=
0x1000
--指令区
LOCATION_SPARE
=
0x2000
--备用格子(用于怪物箱等)
LOCATION_GZONE
=
0x4000
--G区域
LOCATION_RIDE
=
LOCATION_EXTRA
LOCATION_DROP
=
LOCATION_GRAVE
LOCATION_LOCK
=
LOCATION_REMOVED
...
...
@@ -795,7 +796,7 @@ HINTMSG_DISABLE =573 --请选择要无效的卡
HINTMSG_OPERATECARD
=
574
--请选择要操作的卡
HINTMSG_LEAVEONFIELD
=
HINTMSG_RELEASE
--请选择要退场的卡
HINTMSG_TODROP
=
HINTMSG_TOGRAVE
--请选择要置入弃牌区的卡
HINTMSG_
RIDEUP
=
HINTMSG_SUMMON
--请选择要骑升
的卡
HINTMSG_
CALL
=
HINTMSG_SUMMON
--请选择要Call到圆阵
的卡
HINTMSG_DAMAGE
=
HINTMSG_SET
--请选择要消耗的费用
HINTMSG_ATKUP
=
HINTMSG_FMATERIAL
--请选择力量上升的卡
HINTMSG_CRITICAL_STRIKE
=
HINTMSG_SMATERIAL
--请选择☆值上升的卡
...
...
@@ -882,5 +883,5 @@ AFFECT_CODE_MIX =VgID --魔合成
--Counter
COUNTER_ENERGE
=
0x1
--能量爆发
--自定时点
Trigger
=
VgID
--判定时点
ToTrigger
=
VgID
+
1
--触发时点
\ No newline at end of file
EVENT_TRIGGER
=
VgID
--判定时点
EVENT_CRITICAL_STRIKE
=
VgID
+
1
--暴击值结算时点
\ No newline at end of file
c10101015.lua
View file @
f29ed288
...
...
@@ -4,10 +4,13 @@ function cm.initial_effect(c)
VgD
.
Rule
(
c
)
VgD
.
RideUp
(
c
)
VgD
.
CardTrigger
(
c
,
nil
)
VgD
.
SpellActivate
(
c
,
m
,
nil
,
cm
.
op
)
VgD
.
SpellActivate
(
c
,
m
,
cm
.
op
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_DROP
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DROP
,
0
,
1
,
1
,
nil
)
if
g
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
function
cm
.
filter
(
c
)
return
c
:
IsCode
(
10101006
)
and
c
:
IsAbleToHand
()
end
\ No newline at end of file
c10102015.lua
0 → 100644
View file @
f29ed288
--
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
VgD
.
Rule
(
c
)
VgD
.
RideUp
(
c
)
VgD
.
CardTrigger
(
c
,
nil
)
VgD
.
SpellActivate
(
c
,
m
,
nil
,
cm
.
op
,
0
,
1
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
\ No newline at end of file
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