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
liucerf
pre-release-database-cdb
Commits
32a78984
Commit
32a78984
authored
May 01, 2025
by
Mr.Tan
Committed by
wind2009
May 01, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 無垢なる予幻視
parent
ff1f593f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
script/c101301055.lua
script/c101301055.lua
+12
-3
No files found.
script/c101301055.lua
View file @
32a78984
...
...
@@ -50,17 +50,26 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
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
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
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
rafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
s
.
rafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
race
,
att
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
race
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
&~
tc
:
GetRace
())
if
ATTRIBUTE_ALL
&~
tc
:
GetAttribute
()
==
0
then
race
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
&~
tc
:
GetRace
())
else
race
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
~
tc
:
GetAttribute
())
if
RACE_ALL
&~
tc
:
GetRace
()
==
0
or
race
==
tc
:
GetRace
()
then
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
&~
tc
:
GetAttribute
())
else
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
end
e
:
SetLabel
(
race
,
att
)
end
function
s
.
raop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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