Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Crescent/毛虫
pre-release-database-cdb
Commits
58fbc53c
Commit
58fbc53c
authored
Jul 10, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
4c1b9edf
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
script/c100223001.lua
script/c100223001.lua
+1
-1
script/c100223002.lua
script/c100223002.lua
+1
-1
script/c100223005.lua
script/c100223005.lua
+1
-0
script/c100223007.lua
script/c100223007.lua
+0
-3
script/c100223008.lua
script/c100223008.lua
+2
-1
script/c100223010.lua
script/c100223010.lua
+13
-5
No files found.
script/c100223001.lua
View file @
58fbc53c
...
@@ -31,7 +31,7 @@ function s.spcon(e,c)
...
@@ -31,7 +31,7 @@ function s.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
aux
.
AND
(
Card
.
IsSetCard
,
Card
.
IsFaceupEx
),
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
,
0x2bf
)
=
=
0
and
Duel
.
GetMatchingGroupCount
(
aux
.
AND
(
Card
.
IsSetCard
,
Card
.
IsFaceupEx
),
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
,
0x2bf
)
~
=
0
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c100223002.lua
View file @
58fbc53c
...
@@ -29,7 +29,7 @@ function s.spcon(e,c)
...
@@ -29,7 +29,7 @@ function s.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
aux
.
AND
(
Card
.
IsType
,
Card
.
IsFaceupEx
),
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
,
TYPE_XYZ
)
=
=
0
and
Duel
.
GetMatchingGroupCount
(
aux
.
AND
(
Card
.
IsType
,
Card
.
IsFaceupEx
),
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
,
TYPE_XYZ
)
~
=
0
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c100223005.lua
View file @
58fbc53c
--パルマ・ライゼオル
--パルマ・ライゼオル
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--special summon rule
--special summon rule
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
script/c100223007.lua
View file @
58fbc53c
...
@@ -57,9 +57,6 @@ end
...
@@ -57,9 +57,6 @@ end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandlerPlayer
()
~=
e
:
GetHandlerPlayer
()
return
re
:
GetHandlerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
end
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x46
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
s
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
script/c100223008.lua
View file @
58fbc53c
...
@@ -8,6 +8,7 @@ function s.initial_effect(c)
...
@@ -8,6 +8,7 @@ function s.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -17,7 +18,7 @@ function s.spfilter(c,e,tp)
...
@@ -17,7 +18,7 @@ function s.spfilter(c,e,tp)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
s
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
s
.
sp
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c100223010.lua
View file @
58fbc53c
...
@@ -21,6 +21,7 @@ function s.initial_effect(c)
...
@@ -21,6 +21,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
s
.
xyztg
)
e2
:
SetTarget
(
s
.
xyztg
)
e2
:
SetOperation
(
s
.
xyzop
)
e2
:
SetOperation
(
s
.
xyzop
)
...
@@ -38,6 +39,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -38,6 +39,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
gc
,
nil
)
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
gc
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
end
function
s
.
xyzfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRank
(
4
)
and
Duel
.
IsExistingMatchingCard
(
s
.
mtfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
)
end
function
s
.
mtfilter
(
c
,
e
)
return
c
:
IsSetCard
(
0x2bf
)
and
c
:
IsCanOverlay
()
and
not
(
e
and
c
:
IsImmuneToEffect
(
e
))
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
tg
:
GetCount
()
>
0
and
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
~=
0
if
tg
:
GetCount
()
>
0
and
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
~=
0
...
@@ -57,14 +66,14 @@ function s.filter(c)
...
@@ -57,14 +66,14 @@ function s.filter(c)
return
c
:
IsCanOverlay
()
and
c
:
IsFaceup
()
return
c
:
IsCanOverlay
()
and
c
:
IsFaceup
()
end
end
function
s
.
fselect
(
sg
,
tp
)
function
s
.
fselect
(
sg
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
filter
2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
return
mg
:
CheckSubGroup
(
s
.
matfilter
,
1
,
#
mg
,
tp
,
sg
)
return
mg
:
CheckSubGroup
(
s
.
matfilter
,
1
,
#
mg
,
tp
,
sg
)
end
end
function
s
.
matfilter
(
sg
,
tp
,
g
)
function
s
.
matfilter
(
sg
,
tp
,
g
)
if
sg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x2bf
):
GetCount
()
==
0
then
return
false
end
if
sg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x2bf
):
GetCount
()
==
0
then
return
false
end
return
Duel
.
IsExistingMatchingCard
(
s
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
sg
)
return
Duel
.
IsExistingMatchingCard
(
s
.
xyzfilter
1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
sg
)
end
end
function
s
.
xyzfilter
(
c
,
mg
)
function
s
.
xyzfilter
1
(
c
,
mg
)
return
c
:
IsXyzSummonable
(
mg
,
#
mg
,
#
mg
)
return
c
:
IsXyzSummonable
(
mg
,
#
mg
,
#
mg
)
end
end
function
s
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -82,10 +91,9 @@ end
...
@@ -82,10 +91,9 @@ end
function
s
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
exg
=
Duel
.
GetMatchingGroup
(
s
.
xyzfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
exg
=
Duel
.
GetMatchingGroup
(
s
.
xyzfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
xyzg
=
exg
:
Filter
(
s
.
ovfilter
,
nil
,
tp
,
mg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
xyz
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
ex
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
gselect
,
false
,
1
,
mg
,
tg
:
GetFirst
())
local
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
gselect
,
false
,
1
,
mg
,
tg
:
GetFirst
())
Duel
.
XyzSummon
(
tp
,
tg
:
GetFirst
(),
sg
)
Duel
.
XyzSummon
(
tp
,
tg
:
GetFirst
(),
sg
)
end
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