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
675d4fff
Commit
675d4fff
authored
Feb 28, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20104102-20104111
parent
7d5b471a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
101 additions
and
0 deletions
+101
-0
c20104102.lua
c20104102.lua
+25
-0
c20104103.lua
c20104103.lua
+26
-0
c20104104.lua
c20104104.lua
+9
-0
c20104107.lua
c20104107.lua
+5
-0
c20104108.lua
c20104108.lua
+9
-0
c20104110.lua
c20104110.lua
+12
-0
c20104111.lua
c20104111.lua
+15
-0
No files found.
c20104102.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
-- 被等级3的含有「扎雷乌萨耶尔」的单位RIDE时
vgd
.
action
.
AbilityAutoRided
(
c
,
m
,
cm
.
ridefilter
,
cm
.
operation
)
-- 盾护+10000
vgd
.
action
.
AbilityCont
(
c
,
m
,
LOCATION_G_CIRCLE
,
EFFECT_TYPE_SINGLE
,
EFFECT_UPDATE_DEFENSE
,
10000
,
cm
.
powercon
)
end
function
cm
.
ridefilter
(
c
)
return
c
:
IsLevel
(
3
)
and
c
:
IsSetCard
(
0x12d
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
3
)
and
vgf
.
IsCanBeCalled
(
c
,
e
,
tp
)
end
-- 选择你的手牌中的至多1张等级3以下的卡,CALL到R上
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
vgf
.
SelectMatchingCard
(
HINTMSG_CALL
,
e
,
tp
,
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
0
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
vgf
.
Sendto
(
LOCATION_CIRCLE
,
g
,
0
,
tp
)
>
0
then
-- CALL出场了的话,抽1张卡
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
-- 你有等级3以上的含有「扎雷乌萨耶尔」的先导者的话
function
cm
.
powercon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
v
=
vgf
.
GetVMonster
(
tp
)
return
v
and
v
:
IsLevelAbove
(
3
)
and
v
:
IsSetCard
(
0x12d
)
end
\ No newline at end of file
c20104103.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
-- 被「静默的骑士 史威斯赫尔姆」RIDE时
vgd
.
action
.
AbilityAutoRided
(
c
,
m
,
20104002
,
cm
.
operation
)
-- 力量+5000
vgd
.
action
.
AbilityCont
(
c
,
m
,
LOCATION_G_CIRCLE
,
EFFECT_TYPE_SINGLE
,
EFFECT_UPDATE_ATTACK
,
5000
,
cm
.
powercon
)
end
-- 将你的牌堆顶的1张卡公开
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
local
tc
=
vgf
.
ReturnCard
(
g
)
Duel
.
DisableShuffleCheck
()
if
tc
:
IsLevelBelow
(
2
)
and
tc
:
IsType
(
TYPE_NORMAL
)
and
tc
:
IsType
(
TYPE_UNIT
)
and
vgf
.
IsCanBeCalled
(
tc
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
vgf
.
Stringid
(
m
,
0
))
then
-- 将那张卡CALL到R上
vgf
.
Sendto
(
LOCATION_CIRCLE
,
tc
,
0
,
tp
)
else
-- 将那张卡加入手牌,选择你的手牌中的1张卡,舍弃
local
tg
=
vgf
.
SelectMatchingCard
(
HINTMSG_DISCARD
,
e
,
tp
,
nil
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
vgf
.
Sendto
(
LOCATION_DROP
,
tg
,
REASON_EFFECT
)
end
end
-- 你的回合中,你有等级3以上的含有「扎雷乌萨耶尔」的先导者的话
function
cm
.
powercon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
v
=
vgf
.
GetVMonster
(
tp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
v
and
v
:
IsLevelAbove
(
3
)
and
v
:
IsSetCard
(
0x12d
)
end
\ No newline at end of file
c20104104.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgd
.
action
.
AbilityAutoRided
(
c
,
m
,
nil
,
cm
.
operation
,
nil
,
cm
.
condition
)
end
-- 后攻
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
==
1
and
Duel
.
GetTurnPlayer
()
==
tp
end
-- 抽1张卡
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
\ No newline at end of file
c20104107.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgd
.
action
.
AbilityAuto
(
c
,
m
,
0
,
EFFECT_TYPE_SINGLE
,
EVENT_DISCARD
,
vgf
.
op
.
Draw
(),
vgf
.
cost
.
SoulBlast
(
2
),
cm
.
condition
)
end
-- 你的RIDE阶段中
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_RIDE
end
\ No newline at end of file
c20104108.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgd
.
action
.
AbilityAuto
(
c
,
m
,
nil
,
EFFECT_TYPE_SINGLE
,
EVENT_SPSUMMON_SUCCESS
,
vgf
.
Operation
.
ThisCard
(
function
(
e
)
local
tc
=
e
:
GetHandler
()
vgf
.
AtkUp
(
tc
,
tc
,
10000
)
end
),
nil
,
cm
.
condition
)
end
-- 从弃牌区登场到R时,有等级3以上的先导者的话
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DROP
)
and
vgf
.
GetVMonster
(
tp
):
IsLevelAbove
(
3
)
and
c
:
IsRideOnRCircle
()
end
\ No newline at end of file
c20104110.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgd
.
action
.
AbilityAuto
(
c
,
m
,
0
,
EFFECT_TYPE_SINGLE
,
EVENT_DISCARD
,
cm
.
operation
,
nil
,
cm
.
condition
)
end
-- 你的RIDE阶段中
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_RIDE
end
-- 将这张卡横置CALL到R上
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
vgf
.
IsCanBeCalled
(
c
,
e
,
tp
,
0
,
POS_FACEUP_DEFENSE
)
then
vgf
.
Sendto
(
LOCATION_CIRCLE
,
c
,
0
,
tp
,
0x20
,
POS_FACEUP_DEFENSE
)
end
end
\ No newline at end of file
c20104111.lua
View file @
675d4fff
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgd
.
action
.
AbilityAuto
(
c
,
m
,
LOCATION_R_CIRCLE
,
EFFECT_TYPE_FIELD
,
EVENT_CUSTOM
+
EVENT_SUPPORT
,
cm
.
operation
,
cm
.
cost
,
cm
.
condition
)
end
-- 你的单位有4个以上的话
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
vgf
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_CIRCLE
+
LOCATION_G_CIRCLE
,
0
,
4
,
nil
)
and
eg
:
GetFirst
()
==
e
:
GetHandler
()
end
-- 计数爆发1,能量爆发2
cm
.
cost
=
vgf
.
cost
.
And
(
vgf
.
cost
.
CounterBlast
(
1
),
vgf
.
cost
.
EnergyBlast
(
2
))
-- 抽1张卡,这次战斗中,这个单位的力量+5000
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
vgf
.
AtkUp
(
c
,
c
,
5000
,
EVENT_BATTLED
)
end
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