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
八宫一月
pre-release-database-cdb
Commits
9a39a5f9
Commit
9a39a5f9
authored
Dec 18, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix QCDB-JP001 & LEDE-JP023 script
parent
f860a637
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
script/c100212001.lua
script/c100212001.lua
+11
-10
script/c101204023.lua
script/c101204023.lua
+2
-1
No files found.
script/c100212001.lua
View file @
9a39a5f9
--究極竜魔導師
function
c100212001
.
initial_effect
(
c
)
aux
.
AddMaterialCodeList
(
c
,
23995346
)
aux
.
AddCodeList
(
c
,
23995346
)
c
:
EnableReviveLimit
()
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -37,17 +38,17 @@ function c100212001.initial_effect(c)
e3
:
SetOperation
(
c100212001
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
c100212001
.
FShaddollFilter
(
c
,
fc
)
function
c100212001
.
FShaddollFilter
(
c
)
return
c
:
IsFusionSetCard
(
0xdd
)
or
c
:
IsFusionSetCard
(
0xcf
)
and
c
:
IsFusionType
(
TYPE_RITUAL
)
or
c
:
IsFusionCode
(
23995346
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
)
end
function
c100212001
.
Chaos_FShaddollFilter
(
c
,
mg
)
return
c
:
IsFusionSetCard
(
0xcf
)
and
c
:
IsFusionType
(
TYPE_RITUAL
)
and
mg
:
CheckSubGroup
(
c100212001
.
FShaddollSpgcheck
,
1
,
3
,
c
,
c
)
function
c100212001
.
Chaos_FShaddollFilter
(
c
,
mg
,
code
)
return
c
:
IsFusionSetCard
(
0xcf
)
and
c
:
IsFusionType
(
TYPE_RITUAL
)
and
mg
:
CheckSubGroup
(
c100212001
.
FShaddollSpgcheck
,
1
,
3
,
c
,
c
ode
)
end
function
c100212001
.
Blue_Eyes_Ultimate_Dragon
(
c
,
g
)
return
(
c
:
IsFusionCode
(
23995346
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
)
)
and
g
:
FilterCount
(
Card
.
IsFusionSetCard
,
nil
,
0xdd
,
c
)
==
0
function
c100212001
.
Blue_Eyes_Ultimate_Dragon
(
c
,
g
,
code
)
return
(
c
:
IsFusionCode
(
23995346
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
)
and
not
code
==
71143015
)
and
g
:
FilterCount
(
Card
.
IsFusionSetCard
,
c
,
0xdd
)
==
0
end
function
c100212001
.
FShaddollSpgcheck
(
g
,
c
)
return
(
g
:
FilterCount
(
c100212001
.
Blue_Eyes_Ultimate_Dragon
,
c
,
g
)
==
1
function
c100212001
.
FShaddollSpgcheck
(
g
,
c
,
code
)
return
(
g
:
FilterCount
(
c100212001
.
Blue_Eyes_Ultimate_Dragon
,
c
,
g
,
code
)
==
1
or
g
:
FilterCount
(
Card
.
IsFusionSetCard
,
c
,
0xdd
)
==
3
)
end
function
c100212001
.
FShaddollCondition
()
...
...
@@ -55,7 +56,7 @@ function c100212001.FShaddollCondition()
if
g
==
nil
then
return
aux
.
MustMaterialCheck
(
nil
,
e
:
GetHandlerPlayer
(),
EFFECT_MUST_BE_FMATERIAL
)
end
local
c
=
e
:
GetHandler
()
local
mg
=
g
:
Filter
(
c100212001
.
FShaddollFilter
,
nil
)
return
mg
:
IsExists
(
c100212001
.
Chaos_FShaddollFilter
,
1
,
nil
,
mg
)
return
mg
:
IsExists
(
c100212001
.
Chaos_FShaddollFilter
,
1
,
nil
,
mg
,
e
:
GetHandler
():
GetCode
()
)
end
end
function
c100212001
.
FShaddollOperation
()
...
...
@@ -68,7 +69,7 @@ function c100212001.FShaddollOperation()
mg
:
RemoveCard
(
gc
)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
mg
:
FilterSelect
(
tp
,
c100212001
.
Chaos_FShaddollFilter
,
1
,
1
,
nil
,
mg
)
g
=
mg
:
FilterSelect
(
tp
,
c100212001
.
Chaos_FShaddollFilter
,
1
,
1
,
nil
,
mg
,
e
:
GetHandler
():
GetCode
()
)
mg
:
Sub
(
g
)
end
local
sg
=
nil
...
...
@@ -77,7 +78,7 @@ function c100212001.FShaddollOperation()
while
not
sg
do
mg
:
AddCard
(
g
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
mg
:
FilterSelect
(
tp
,
c100212001
.
Chaos_FShaddollFilter
,
1
,
1
,
nil
,
mg
)
g
=
mg
:
FilterSelect
(
tp
,
c100212001
.
Chaos_FShaddollFilter
,
1
,
1
,
nil
,
mg
,
e
:
GetHandler
():
GetCode
()
)
mg
:
Sub
(
g
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
c100212001
.
FShaddollSpgcheck
,
true
,
1
,
3
,
g
)
...
...
script/c101204023.lua
View file @
9a39a5f9
...
...
@@ -79,4 +79,5 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
\ No newline at end of file
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