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
Amiya
pre-release-database-cdb
Commits
5d83bd84
Commit
5d83bd84
authored
Dec 19, 2023
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 究極竜魔導師
parent
bc70ddb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
script/c100212001.lua
script/c100212001.lua
+27
-4
No files found.
script/c100212001.lua
View file @
5d83bd84
...
...
@@ -53,11 +53,20 @@ function c100212001.FShaddollSpgcheck(g,c,fe)
return
(
g
:
FilterCount
(
c100212001
.
Blue_Eyes_Ultimate_Dragon
,
c
,
g
,
fe
)
==
1
or
g
:
FilterCount
(
Card
.
IsFusionSetCard
,
c
,
0xdd
)
==
3
)
end
function
c100212001
.
Necessarily_FShaddollFilter
(
c
,
gc
)
return
c
:
IsCode
(
gc
:
GetCode
())
end
function
c100212001
.
Necessarily_FShaddollSpgcheck
(
g
,
c
,
fe
,
gc
)
return
g
:
FilterCount
(
Card
.
IsFusionSetCard
,
c
,
0xdd
)
==
3
and
g
:
FilterCount
(
c100212001
.
Necessarily_FShaddollFilter
,
nil
,
gc
)
==
1
end
function
c100212001
.
FShaddollCondition
()
return
function
(
e
,
g
,
gc
,
chkf
)
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
)
if
gc
then
if
not
mg
:
IsContains
(
gc
)
then
return
false
end
end
return
mg
:
IsExists
(
c100212001
.
Chaos_FShaddollFilter
,
1
,
nil
,
mg
,
e
)
end
end
...
...
@@ -67,16 +76,30 @@ function c100212001.FShaddollOperation()
local
mg
=
eg
:
Filter
(
c100212001
.
FShaddollFilter
,
nil
)
local
g
=
nil
if
gc
then
if
c100212001
.
Chaos_FShaddollFilter
(
c
,
mg
,
e
)
then
g
=
Group
.
FromCards
(
gc
)
mg
:
RemoveCard
(
gc
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
mg
:
FilterSelect
(
tp
,
c100212001
.
Chaos_FShaddollFilter
,
1
,
1
,
nil
,
mg
,
e
)
mg
:
Sub
(
g
)
end
local
sg
=
nil
if
gc
and
g
:
FilterCount
(
c100212001
.
Necessarily_FShaddollFilter
,
nil
,
gc
)
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
c100212001
.
FShaddollSpgcheck
,
true
,
1
,
3
,
g
,
e
)
else
if
gc
and
c100212001
.
Blue_Eyes_Ultimate_Dragon
(
gc
,
g
,
e
)
then
sg
=
Group
.
FromCards
(
gc
)
elseif
gc
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
c100212001
.
Necessarily_FShaddollSpgcheck
,
true
,
1
,
3
,
g
,
e
,
gc
)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
c100212001
.
FShaddollSpgcheck
,
true
,
1
,
3
,
g
,
e
)
end
end
while
not
sg
do
mg
:
AddCard
(
g
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
...
...
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