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
1d44de9c
Commit
1d44de9c
authored
Apr 29, 2025
by
Mr.Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 無垢なる予幻視
parent
829c0bce
Pipeline
#35693
failed with stages
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
script/c101301055.lua
script/c101301055.lua
+16
-7
No files found.
script/c101301055.lua
View file @
1d44de9c
...
@@ -50,21 +50,30 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,21 +50,30 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
rafilter
(
c
)
function
s
.
rafilter
(
c
)
return
c
:
IsFaceup
()
and
(
RACE_ALL
&~
c
:
GetRace
())
~=
0
and
(
ATTRIBUTE_ALL
~
c
:
GetAttribute
())
~=
0
return
c
:
IsFaceup
()
and
(
(
RACE_ALL
&~
c
:
GetRace
())
~=
0
or
(
ATTRIBUTE_ALL
&~
c
:
GetAttribute
())
~=
0
)
end
end
function
s
.
ratg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
ratg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsFaceup
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
rafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
rafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
s
.
rafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectTarget
(
tp
,
s
.
rafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
race
,
att
local
race
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
if
ATTRIBUTE_ALL
&~
tc
:
GetAttribute
()
==
0
then
local
att
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
race
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
&~
tc
:
GetRace
())
if
race
==
tc
:
GetRace
()
then
att
=
tc
:
GetAttribute
()
elseif
RACE_ALL
&~
tc
:
GetRace
()
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
~
tc
:
GetAttribute
())
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
~
tc
:
GetAttribute
())
race
=
tc
:
GetRace
()
else
else
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
race
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
if
race
==
tc
:
GetRace
()
then
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
~
tc
:
GetAttribute
())
else
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
end
end
end
e
:
SetLabel
(
race
,
att
)
e
:
SetLabel
(
race
,
att
)
end
end
...
...
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