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
yks
pre-release-database-cdb
Commits
39f72268
Commit
39f72268
authored
Apr 10, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
979c7d12
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
25 deletions
+26
-25
script/c100220001.lua
script/c100220001.lua
+1
-2
script/c100220002.lua
script/c100220002.lua
+1
-1
script/c100220003.lua
script/c100220003.lua
+1
-1
script/c100220004.lua
script/c100220004.lua
+21
-19
script/c100220005.lua
script/c100220005.lua
+1
-1
script/c100220007.lua
script/c100220007.lua
+1
-1
No files found.
script/c100220001.lua
View file @
39f72268
...
...
@@ -29,7 +29,6 @@ function s.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e4
:
SetCondition
(
s
.
mtcon
)
e4
:
SetTarget
(
s
.
mttg
)
e4
:
SetOperation
(
s
.
mtop
)
...
...
@@ -39,7 +38,7 @@ function s.cfilter(c)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
script/c100220002.lua
View file @
39f72268
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_HAND
)
e3
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e3
:
SetCondition
(
s
.
matcon
)
e3
:
SetTarget
(
s
.
mattg
)
...
...
script/c100220003.lua
View file @
39f72268
...
...
@@ -22,7 +22,7 @@ function s.cfilter(c)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
or
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
)
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
id
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
...
...
script/c100220004.lua
View file @
39f72268
--神影金龍ドラッグルクシオン
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -14,16 +14,16 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e1
)
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
1
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetCountLimit
(
1
,
id
+
o
)
e
1
:
SetCost
(
s
.
spcost
)
e
1
:
SetTarget
(
s
.
sptg
)
e
1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetCountLimit
(
1
,
id
+
o
)
e
2
:
SetCost
(
s
.
spcost
)
e
2
:
SetTarget
(
s
.
sptg
)
e
2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
2
)
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonLocation
(
LOCATION_EXTRA
)
...
...
@@ -75,15 +75,17 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
tc
:
SetMaterial
(
Group
.
FromCards
(
c
))
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
s
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
Overlay
(
tc
,
g
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
IsExistingMatchingCard
(
s
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
Overlay
(
tc
,
g
)
end
end
tc
:
CompleteProcedure
()
end
end
end
...
...
script/c100220005.lua
View file @
39f72268
...
...
@@ -32,7 +32,7 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
c
filter
(
c
)
function
s
.
des
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x7b
)
and
c
:
IsType
(
TYPE_XYZ
)
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100220007.lua
View file @
39f72268
...
...
@@ -46,7 +46,7 @@ function s.tdcon(e,tp,eg,ep,ev,re,r,rp)
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
s
.
xfilter
(
c
)
return
c
:
IsSetCard
(
0x107b
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsSetCard
(
0x107b
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
end
function
s
.
tdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
xg
=
Group
.
CreateGroup
()
...
...
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