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
c8019bd0
Commit
c8019bd0
authored
Apr 11, 2024
by
Ken7787
Committed by
GitHub
Apr 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add files via upload
parent
8a3c0238
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
162 additions
and
56 deletions
+162
-56
c10103001.lua
c10103001.lua
+22
-4
c10103002.lua
c10103002.lua
+12
-4
c10103003.lua
c10103003.lua
+23
-4
c10103004.lua
c10103004.lua
+19
-4
c10103005.lua
c10103005.lua
+11
-4
c10103006.lua
c10103006.lua
+15
-4
c10103007.lua
c10103007.lua
+6
-4
c10103008.lua
c10103008.lua
+12
-4
c10103009.lua
c10103009.lua
+7
-4
c10103011.lua
c10103011.lua
+5
-4
c10103012.lua
c10103012.lua
+5
-4
c10103013.lua
c10103013.lua
+5
-4
c10103014.lua
c10103014.lua
+5
-4
c10103015.lua
c10103015.lua
+15
-4
No files found.
c10103001.lua
View file @
c8019bd0
--顶峰天帝 巴斯提昂
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
--【自】【V】【1回合1次】:你的攻击判定将等级3的卡判出的战斗结束时,通过【费用】[将手牌中的1张卡舍弃],选择你的1张后防者,重置,这个回合中,那个单位的力量+10000。
vgd
.
EffectTyperTrigger
(
c
,
m
,
LOCATION_MZONE
,
EFFECT_TYPE_SINGLE
,
EVENT_DAMAGE_STEP_END
,
cm
.
operation
,
vgf
.
DisCardCost
(
1
),
VMonsterCondition
,
nil
,
1
,
EFFECT_FLAG_DAMAGE_STEP
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATKUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
vgf
.
RMonsterFilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
then
Duel
.
Hintselectgion
(
g
)
Duel
.
ChangePosition
(
g
,
POS_ATTACK
)
vgF
.
AtkUp
(
c
,
g
,
10000
,
nil
)
end
end
end
--有一个永效果没写,效果如下↓
--【永】【V】:你的回合中,你所有的等级3的单位的力量+2000。
\ No newline at end of file
c10103002.lua
View file @
c8019bd0
--天枪的骑士 勒克斯
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
--【自】:这个单位被「顶峰天帝 巴斯提昂」RIDE时,通过【费用】[将手牌中的3张等级3的卡公开],抽1张卡。
vgd
.
BeridedByCard
(
c
,
m
,
10103001
,
cm
.
operation
,
cost
)
--未写公开三张等级三的卡
--未写永效果
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c10103003.lua
View file @
c8019bd0
--天剑的骑士 福特
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
--【自】:这个单位被「天枪的骑士 勒克斯」RIDE时,通过【费用】[将手牌中的2张等级3的卡公开],将你的牌堆顶的1张卡公开,那张卡是单位卡的话,CALL到R上,不是的话,放置到弃牌区。
vgd
.
BeRidedByCard
(
c
,
m
,
10103002
,
cost
,
cm
.
operation
)
--cost公开2张三级未写
--【起】【R】【1回合1次】:通过【费用】[计数爆发1],选择你的1张等级3的先导者,这个回合中,力量+5000。
vgd
.
EeffectTypeIgnition
(
c
,
m
,
LOCATION_MZONE
,
EFFECT_TYPE_SINGLE
,
cm
.
operation2
,
DamageCost
(
1
),
RMonsterCondition
,
nil
,
1
)
end
end
function
cm
.
operation
(
c
)
end
function
cm
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATKUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
vgf
.
VmonsterFilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
--条件未写出选择等级三,只写了选择V
if
g
then
VgF
.
AtkUp
(
c
,
g
,
5000
,
nil
)
end
--一效果的operation未写(不知道该如何写展示手牌与判断单位,牌组顶公开call或者放置到弃牌区)
--二效果的条件中未写选择等级三
\ No newline at end of file
c10103004.lua
View file @
c8019bd0
--天弓的骑士 贝斯
--【自】:这个单位被RIDE时,你是后攻的话,抽1张
--默认内容
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
vgd
.
BeRidedByCard
(
c
,
m
,
nil
,
cm
.
condition
)
end
--效果条件
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
==
1
and
Duel
.
GetTurnPlayer
()
==
tp
end
--效果内容
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c10103005.lua
View file @
c8019bd0
--激烈的魔女 拉玛娜
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
--【自】【R】:这个单位攻击时,通过【费用】[计数爆发1],这次战斗中,这个单位的力量+5000。
vgd
.
EffectTypeTrigger
(
c
,
m
,
LOCATION_MZONE
,
EFFECT_TYPE_SINGLE
,
EVENT_ATTACK_ANNOUNCE
,
cm
.
operation
,
DamageCost
(
1
),
RMonsterCondition
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
VgF
.
AtkUp
(
c
,
c
,
5000
,
nil
)
end
end
\ No newline at end of file
c10103006.lua
View file @
c8019bd0
--斧钺的骑士 拉夫尔克
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
--【起】【R】:通过【费用】[将这个单位放置到灵魂里],选择你的1张等级3的后防者,这个回合中,力量+10000。
vgd
.
EffectTypeIgnition
(
c
,
m
,
LOCATION_MZONE
,
cm
.
operation
,
cost
,
RMonsterCondition
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATKUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
vgf
.
RMonsterCondition
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
--这里不会写选择等级三的后防者,只写了选择后防者
if
g
then
Duel
.
Hintselectgion
(
g
)
VgF
.
AtkUp
(
c
,
g
,
10000
,
nil
)
end
end
\ No newline at end of file
c10103007.lua
View file @
c8019bd0
--影弓的射手 莉萨娜
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
end
end
\ No newline at end of file
c10103008.lua
View file @
c8019bd0
--白金之狼
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
--【起】【R】:通过【费用】[灵魂爆发2],这个回合中,这个单位的力量+5000。
vgd
.
EffectTypeIgnition
(
c
,
m
,
LOCATION_MZONE
,
cm
.
operation
,
vgF
.
OverlayCost
(
2
),
RMonsterCondition
)
end
function
cm
.
operation
()
local
c
=
e
:
GetHandler
()
VgF
.
AtkUp
(
c
,
c
,
5000
,
nil
)
end
end
\ No newline at end of file
c10103009.lua
View file @
c8019bd0
--救命天使 库拉比耶尔
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
vgd
.
CardTog
(
c
,
vgf
,
DisCardCostg
(
1
))
end
end
\ No newline at end of file
c10103011.lua
View file @
c8019bd0
--天锤的骑士 古尔坎特
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
end
end
\ No newline at end of file
c10103012.lua
View file @
c8019bd0
--天贯的骑士 加尔斯
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
end
end
\ No newline at end of file
c10103013.lua
View file @
c8019bd0
--天裂的骑士 利弗
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
end
end
c10103014.lua
View file @
c8019bd0
--天杖的治疗师 阿谢丝
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
end
end
c10103015.lua
View file @
c8019bd0
--圣裁之刻,来临
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
VgF
.
VgCard
(
c
)
vgd
.
SpellActivate
(
c
,
m
,
cm
.
operation
,
nil
,
0
,
0
,
0
,
0
,
0
,
2
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATKUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
VgF
.
AtkUp
(
c
,
g
,
5000
,
nil
)
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