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
MyCard
pre-release-database-cdb
Commits
02b08231
Commit
02b08231
authored
Oct 18, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix アルカナスプレッド
parent
83548570
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
22 deletions
+17
-22
script/c101207054.lua
script/c101207054.lua
+17
-22
No files found.
script/c101207054.lua
View file @
02b08231
...
...
@@ -25,12 +25,6 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
s
.
toss_coin
=
true
function
s
.
thfilter1
(
c
)
return
not
c
:
IsCode
(
11819473
)
and
c
.
toss_coin
and
c
:
IsAbleToHand
()
end
function
s
.
thfilter2
(
c
,
p
)
return
c
:
IsAbleToHand
(
p
)
end
function
s
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x5
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
@@ -47,32 +41,33 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
res
if
Duel
.
IsEnvironment
(
73206827
,
tp
,
LOCATION_FZONE
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
off
=
1
local
ops
=
{}
local
opval
=
{}
if
Duel
.
IsExistingMatchingCard
(
s
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
then
ops
[
off
]
=
aux
.
Stringid
(
id
,
2
)
opval
[
off
-
1
]
=
0
off
=
off
+
1
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
s
.
spfilter2
),
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
)
if
b1
and
not
b2
then
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
60
)
res
=
1
end
if
b2
and
not
b1
then
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
61
)
res
=
2
end
if
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
s
.
spfilter2
),
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
)
then
ops
[
off
]
=
aux
.
Stringid
(
id
,
3
)
opval
[
off
-
1
]
=
1
off
=
off
+
1
if
b1
and
b2
then
res
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
60
},
{
b2
,
61
})
end
if
off
==
1
then
return
end
local
op
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
ops
))
res
=
opval
[
op
]
else
res
=
1
-
Duel
.
TossCoin
(
tp
,
1
)
res
=
Duel
.
TossCoin
(
tp
,
1
)
end
if
res
==
0
then
if
res
==
1
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
else
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
spfilter2
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
...
...
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