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
de37765b
Commit
de37765b
authored
Jul 05, 2024
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
c222893a
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
29 deletions
+24
-29
c10501003.lua
c10501003.lua
+0
-2
c10501065.lua
c10501065.lua
+4
-4
c10501067.lua
c10501067.lua
+2
-2
c10501070.lua
c10501070.lua
+6
-8
c10501074.lua
c10501074.lua
+2
-2
c10501076.lua
c10501076.lua
+1
-1
c10501079.lua
c10501079.lua
+4
-2
c10501080.lua
c10501080.lua
+1
-3
c10501081.lua
c10501081.lua
+2
-2
c10501089.lua
c10501089.lua
+2
-2
c10501090.lua
c10501090.lua
+0
-1
No files found.
c10501003.lua
View file @
de37765b
...
...
@@ -10,7 +10,6 @@ end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
vgf
.
SelectMatchingCard
(
HINTMSG_FACEUP
,
e
,
tp
,
cm
.
filter
,
tp
,
LOCATION_ORDER
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
RaiseEvent
(
g
,
EVENT_CUSTOM
+
EVENT_SING
,
e
,
0
,
tp
,
tp
,
0
)
end
function
cm
.
filter
(
c
)
...
...
@@ -23,7 +22,6 @@ end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
vgf
.
SelectMatchingCard
(
HINTMSG_FACEUP
,
e
,
tp
,
cm
.
filter
,
tp
,
LOCATION_ORDER
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
RaiseEvent
(
g
,
EVENT_CUSTOM
+
EVENT_SING
,
e
,
0
,
tp
,
tp
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c10501065.lua
View file @
de37765b
...
...
@@ -8,8 +8,8 @@ function cm.initial_effect(c)
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
EFFECT_TYPE_SINGLE
,
10000
,
cm
.
con
)
end
function
cm
.
con
1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandl
er
()
function
cm
.
con
(
e
)
local
tp
=
e
:
GetHandlerPlay
er
()
return
vgf
.
RMonsterCondition
(
e
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
>
0
and
Duel
.
GetFlagEffect
(
tp
,
m
+
1
)
>
0
end
...
...
c10501067.lua
View file @
de37765b
...
...
@@ -7,8 +7,8 @@ function cm.initial_effect(c)
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
EFFECT_TYPE_SINGLE
,
5000
,
cm
.
con2
,
tg
,
EFFECT_UPDATE_DEFENSE
,
reset
,
LOCATION_GZONE
)
end
function
cm
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
cm
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
vgf
.
RMonsterCondition
(
e
)
function
cm
.
con1
(
e
)
return
cm
.
con2
(
e
)
and
vgf
.
RMonsterCondition
(
e
)
end
function
cm
.
con2
(
e
)
...
...
c10501070.lua
View file @
de37765b
--扎起头发的憧憬 海尔维希
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
-- 【自】:你的战斗阶段中这个单位登场到R时,通过【费用】[将这个单位放置到灵魂里],抽1张卡。
...
...
@@ -7,15 +8,12 @@ end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
vgf
.
RMonsterFilter
(
c
)
and
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
and
Duel
.
GetTurnPlayer
()
==
tp
-- 非ride或人格ride
-- not cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
not
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
and
Duel
.
GetTurnPlayer
()
==
tp
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsSummonType
(
SUMMON_TYPE_RIDE
)
or
c
:
IsSummonType
(
SUMMON_TYPE_SELFRIDE
)
end
-- 检测是ride或人格ride
-- function cm.condition(e,tp,eg,ep,ev,re,r,rp)
-- local c=e:GetHandler()
-- return c:IsSummonType(SUMMON_TYPE_RIDE) or c:IsSummonType(SUMMON_TYPE_SELFRIDE)
-- end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
...
...
c10501074.lua
View file @
de37765b
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
-- -2000
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
EFFECT_TYPE_SINGLE
,
-
2000
,
cm
.
con
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
con
(
e
)
local
c
=
e
:
GetHandler
()
return
VgF
.
BackFilter
(
c
)
and
vgf
.
RMonsterCondition
(
e
)
return
VgF
.
BackFilter
(
c
)
end
c10501076.lua
View file @
de37765b
...
...
@@ -9,6 +9,6 @@ end
function
cm
.
con
(
e
)
local
c
=
e
:
GetHandler
()
local
tp
=
e
:
GetHandlerPlayer
()
local
a
=
vgf
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ORDER
,
0
,
1
,
c
)
local
a
=
vgf
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ORDER
,
0
,
1
,
nil
)
return
vgf
.
RMonsterCondition
(
e
)
and
a
and
Duel
.
GetTurnPlayer
()
==
tp
end
c10501079.lua
View file @
de37765b
--美丽的假日 菲尔缇萝萨
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
-- 【自】:这个单位被RIDE时,通过【费用】[灵魂爆发1],选择你的弃牌区中的至多1张〈幽灵〉,加入手牌。
...
...
@@ -11,7 +12,8 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
VgF
.
SearchCard
(
LOCATION_HAND
,
LOCATION_GRAVE
,
cm
.
filter
,
1
,
0
)(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
con
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
vgf
.
IsExistingMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetTurnPlayer
()
==
tp
end
...
...
c10501080.lua
View file @
de37765b
--爽朗的王子 哈里耶特
-- 未测试
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
vgf
.
VgCard
(
c
)
...
...
@@ -10,7 +9,6 @@ end
function
cm
.
con1
(
e
)
local
c
=
e
:
GetHandler
()
local
tp
=
e
:
GetHandlerPlayer
()
local
a
=
vgf
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ORDER
,
0
,
2
,
c
)
return
vgf
.
RMonsterCondition
(
e
)
and
a
and
Duel
.
GetTurnPlayer
()
==
tp
return
vgf
.
RMonsterCondition
(
e
)
and
vgf
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ORDER
,
0
,
2
,
nil
)
and
Duel
.
GetTurnPlayer
()
==
tp
end
c10501081.lua
View file @
de37765b
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
EFFECT_TYPE_SINGLE
,
2000
,
cm
.
con
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
con
(
e
)
local
c
=
e
:
GetHandler
()
local
tp
=
e
:
GetHandlerPlayer
()
local
a
=
vgf
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
)
...
...
c10501089.lua
View file @
de37765b
...
...
@@ -8,8 +8,8 @@ function cm.initial_effect(c)
vgd
.
EffectTypeContinuousChangeAttack
(
c
,
EFFECT_TYPE_SINGLE
,
2000
,
cm
.
con1
)
end
function
cm
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandl
er
()
function
cm
.
con1
(
e
)
local
tp
=
e
:
GetHandlerPlay
er
()
return
vgf
.
RMonsterCondition
(
e
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
>
0
end
...
...
c10501090.lua
View file @
de37765b
...
...
@@ -8,7 +8,6 @@ function cm.initial_effect(c)
vgd
.
EffectTypeTrigger
(
c
,
m
,
LOCATION_MZONE
,
EFFECT_TYPE_SINGLE
,
EVENT_SPSUMMON_SUCCESS
,
cm
.
operation
,
nil
,
cm
.
con2
,
nil
,
1
)
end
function
cm
.
con1
(
e
)
local
c
=
e
:
GetHandler
()
local
tp
=
e
:
GetHandlerPlayer
()
return
vgf
.
VMonsterCondition
(
e
)
and
not
vgf
.
IsExistingMatchingCard
(
vgf
.
RMonsterFilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetTurnPlayer
()
==
tp
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