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
Mr.Tan
pre-release-database-cdb
Commits
52660621
Commit
52660621
authored
Jan 09, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 贖罪神女
parent
21212e22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
11 deletions
+19
-11
script/c101208035.lua
script/c101208035.lua
+19
-11
No files found.
script/c101208035.lua
View file @
52660621
...
...
@@ -54,13 +54,13 @@ function s.splimit(e,se,sp,st)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
return
st
&
SUMMON_TYPE_FUSION
==
SUMMON_TYPE_FUSION
end
return
true
end
function
s
.
hspfilter1
(
c
,
tp
,
s
c
)
function
s
.
hspfilter1
(
c
,
tp
,
f
c
)
return
c
:
IsCode
(
85065943
)
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
s
c
,
SUMMON_TYPE_SPECIAL
)
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
fc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
f
c
,
SUMMON_TYPE_SPECIAL
)
end
function
s
.
hspfilter2
(
c
,
tp
,
s
c
)
function
s
.
hspfilter2
(
c
,
tp
,
f
c
)
return
c
:
IsFaceup
()
and
c
:
IsReleasable
(
REASON_MATERIAL
|
REASON_SPSUMMON
)
and
c
:
IsCanBeFusionMaterial
(
s
c
,
SUMMON_TYPE_SPECIAL
)
and
c
:
IsCanBeFusionMaterial
(
f
c
,
SUMMON_TYPE_SPECIAL
)
end
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
@@ -68,20 +68,28 @@ function s.hspcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
s
.
hspfilter2
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
s
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
s
.
hspfilter1
,
nil
,
tp
,
c
)
local
g
1
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
s
.
hspfilter1
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
tc
=
g
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
if
tc
then
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
hspfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
sg
:
AddCard
(
tc
)
e
:
SetLabelObject
(
sg
)
return
true
local
tc1
=
g1
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
if
tc1
then
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
hspfilter2
,
tp
,
0
,
LOCATION_MZONE
,
tc1
,
tp
,
c
)
local
tc2
=
g2
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
if
tc2
then
local
mg
=
Group
.
CreateGroup
()
mg
:
AddCard
(
tc1
)
mg
:
AddCard
(
tc2
)
mg
:
KeepAlive
()
e
:
SetLabelObject
(
mg
)
return
true
end
return
false
else
return
false
end
end
function
s
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
sg
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SPSUMMON
|
REASON_MATERIAL
)
sg
:
DeleteGroup
()
end
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
...
...
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